Build fix: build without lttng-ust
[lttng-tools.git] / tests / regression / tools / live / live_test.c
index a9adc5946d967b9c606469b661912fd314917b41..3814c05681265e6ab03d96845d9b92ac7e399976 100644 (file)
@@ -23,7 +23,6 @@
 
 #include <tap/tap.h>
 #include <lttng/lttng.h>
-#include <lttng/ust-sigbus.h>
 
 #include <urcu/list.h>
 #include <common/common.h>
 #define NUM_TESTS 11
 #define mmap_size 524288
 
+#ifdef HAVE_LIBLTTNG_UST_CTL
+#include <lttng/ust-sigbus.h>
 DEFINE_LTTNG_UST_SIGBUS_STATE();
+#endif
 
 static int control_sock;
 struct live_session *session;
This page took 0.024907 seconds and 5 git commands to generate.