Fix: Add missing pthread.h include
[lttng-tools.git] / src / common / defaults.h
index 178a601dfde3b38c619a421642564aefd078ac7a..37d222a784fd0b3564a35b3a845fb8fe88b956e2 100644 (file)
@@ -20,6 +20,7 @@
 #ifndef _DEFAULTS_H
 #define _DEFAULTS_H
 
 #ifndef _DEFAULTS_H
 #define _DEFAULTS_H
 
+#include <pthread.h>
 #include <src/common/macros.h>
 
 /* Default unix group name for tracing. */
 #include <src/common/macros.h>
 
 /* Default unix group name for tracing. */
 /* Default LTTng MI XML namespace. */
 #define DEFAULT_LTTNG_MI_NAMESPACE             "http://lttng.org/xml/ns/lttng-mi"
 
 /* Default LTTng MI XML namespace. */
 #define DEFAULT_LTTNG_MI_NAMESPACE             "http://lttng.org/xml/ns/lttng-mi"
 
+/* Default thread stack size; the default mandated by pthread_create(3) */
+#define DEFAULT_LTTNG_THREAD_STACK_SIZE                2097152
+
 /*
  * Returns the default subbuf size.
  *
 /*
  * Returns the default subbuf size.
  *
This page took 0.023184 seconds and 4 git commands to generate.