build: Add missing DEFINE_LTTNG_UST_SIGBUS_STATE();
[lttng-tools.git] / tests / regression / tools / live / live_test.c
index d5da03e4d7d4417ed7bdfee5e996430cc4204d85..a9adc5946d967b9c606469b661912fd314917b41 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #include <assert.h>
-#include <errno.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -24,6 +23,7 @@
 
 #include <tap/tap.h>
 #include <lttng/lttng.h>
+#include <lttng/ust-sigbus.h>
 
 #include <urcu/list.h>
 #include <common/common.h>
@@ -31,6 +31,7 @@
 #include <bin/lttng-relayd/lttng-viewer-abi.h>
 #include <common/index/ctf-index.h>
 
+#include <common/compat/errno.h>
 #include <common/compat/endian.h>
 
 #define SESSION1 "test1"
@@ -41,6 +42,8 @@
 #define NUM_TESTS 11
 #define mmap_size 524288
 
+DEFINE_LTTNG_UST_SIGBUS_STATE();
+
 static int control_sock;
 struct live_session *session;
 
@@ -97,7 +100,7 @@ ssize_t lttng_live_send(int fd, const void *buf, size_t len)
 }
 
 static
-int connect_viewer(char *hostname)
+int connect_viewer(const char *hostname)
 {
        struct hostent *host;
        struct sockaddr_in server_addr;
This page took 0.024038 seconds and 4 git commands to generate.