projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Build fix: build without lttng-ust
[lttng-tools.git]
/
tests
/
unit
/
test_kernel_data.c
diff --git
a/tests/unit/test_kernel_data.c
b/tests/unit/test_kernel_data.c
index 58e7014422fb6bb68484025a96972460238bdef8..21ec911f20c810d619fe261a58946b614fe28917 100644
(file)
--- a/
tests/unit/test_kernel_data.c
+++ b/
tests/unit/test_kernel_data.c
@@
-15,7
+15,6
@@
#include <common/compat/errno.h>
#include <bin/lttng-sessiond/trace-kernel.h>
#include <common/defaults.h>
#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>
#include <tap/tap.h>
@@
-24,7
+23,10
@@
/* Number of TAP tests in this file */
#define NUM_TESTS 11
/* 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();
DEFINE_LTTNG_UST_SIGBUS_STATE();
+#endif
static const char alphanum[] =
"0123456789"
static const char alphanum[] =
"0123456789"
This page took
0.022702 seconds
and
4
git commands to generate.