Use ENOMSG as fallback for ENODATA on freebsd
[lttng-ust.git] / tests / ust-basic-tracing / ust-basic-tracing.c
index 91a910a689b9d1841ed73d0d7c7860af905f5e60..a7fa84daec6ff696c2616fcabc6ec25de580dac4 100644 (file)
@@ -29,6 +29,8 @@
 #include <sys/wait.h>
 #include <sys/types.h>
 #include <sys/stat.h>
+#include <sys/time.h>
+#include <sys/resource.h>
 #include <fcntl.h>
 #include <sys/mman.h>
 #include <limits.h>
@@ -40,6 +42,7 @@
 #include <ust-comm.h>
 #include "../../libringbuffer/backend.h"
 #include "../../libringbuffer/frontend.h"
+#include "../../liblttng-ust/compat.h" /* For ENODATA */
 
 #define MAX_NR_STREAMS 64
 #define MAX_NR_EVENTS  128
This page took 0.024382 seconds and 4 git commands to generate.