ust-compiler.h: Implement __LTTNG_COMPOUND_LITERAL
[lttng-ust.git] / liblttng-ust / lttng-context-net-ns.c
index 9d6ded12965d5213b6995cbff5705258e6a534d9..3ce139f62049d1cd287c012e300a22a43ed7c9de 100644 (file)
@@ -22,6 +22,7 @@
  */
 
 #define _LGPL_SOURCE
+#include <stddef.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <unistd.h>
 #include "lttng-tracer-core.h"
 #include "ns.h"
 
-
 /*
  * We cache the result to ensure we don't stat(2) the proc filesystem on
  * each event.
  */
-static DEFINE_URCU_TLS(ino_t, cached_net_ns) = NS_INO_UNINITIALIZED;
+static DEFINE_URCU_TLS_INIT(ino_t, cached_net_ns, NS_INO_UNINITIALIZED);
 
 static
 ino_t get_net_ns(void)
This page took 0.023591 seconds and 4 git commands to generate.