#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"