Use ENOMSG as fallback for ENODATA on freebsd
[lttng-ust.git] / tests / ust-multi-test / ust-multi-test.c
index b3c97ea10f0397ebdfbf4a99f6dfea85a41358bb..068f59cf643c25816f6b1f81106a3cd42f9ebae7 100644 (file)
@@ -19,6 +19,7 @@
  */
 
 #define _LARGEFILE64_SOURCE
+#define _GNU_SOURCE
 #include <errno.h>
 #include <stdio.h>
 #include <stdlib.h>
@@ -39,6 +40,7 @@
 #include <ust-comm.h>
 #include <../../libringbuffer/backend.h>
 #include <../../libringbuffer/frontend.h>
+#include "../../liblttng-ust/compat.h" /* For ENODATA */
 
 #define NR_SESSIONS    4
 #define NR_CHANNELS    1
This page took 0.023574 seconds and 4 git commands to generate.