Compat layer for gettid
[lttng-ust.git] / liblttng-ust / lttng-context-vtid.c
index d5664c951cf708ff2b7ac6e9be4ca3b61fbbe87b..9aa36c6c55a30e999c9f60fb3fb7dc88392a8139 100644 (file)
@@ -26,6 +26,7 @@
 #include <lttng/ust-tracer.h>
 #include <lttng/ringbuffer-config.h>
 #include "ltt-tracer-core.h"
+#include <lttng/ust-tid.h>
 
 #ifdef __linux__
 #include <syscall.h>
@@ -45,6 +46,7 @@ static inline pid_t gettid(void)
        return getpid();
 }
 #endif
+======= end
 
 /*
  * We cache the result to ensure we don't trigger a system call for
This page took 0.02376 seconds and 4 git commands to generate.