Build fix: build without lttng-ust
[lttng-tools.git] / tests / unit / test_kernel_data.c
index 58e7014422fb6bb68484025a96972460238bdef8..21ec911f20c810d619fe261a58946b614fe28917 100644 (file)
@@ -15,7 +15,6 @@
 #include <common/compat/errno.h>
 #include <bin/lttng-sessiond/trace-kernel.h>
 #include <common/defaults.h>
-#include <lttng/ust-sigbus.h>
 
 #include <tap/tap.h>
 
 /* Number of TAP tests in this file */
 #define NUM_TESTS 11
 
+#ifdef HAVE_LIBLTTNG_UST_CTL
+#include <lttng/ust-sigbus.h>
 DEFINE_LTTNG_UST_SIGBUS_STATE();
+#endif
 
 static const char alphanum[] =
        "0123456789"
This page took 0.022162 seconds and 4 git commands to generate.