Fix: tests: missing _GNU_SOURCE for F_GETPIPE_SZ
[lttng-tools.git] / tests / regression / tools / notification / default_pipe_size_getter.cpp
index cc24cec1ea01ea45bd34ecba5b8697d3d5d5409c..843070b5923cd07dda15511d40d4f699085ec72d 100644 (file)
@@ -9,19 +9,23 @@
  *
  */
 
+#ifndef _GNU_SOURCE
+#define _GNU_SOURCE
+#endif
+
 #include <unistd.h>
 #include <fcntl.h>
 #include <stdio.h>
 #include <stdlib.h>
 
-#include <common/pipe.h>
-#include <common/error.h>
+#include <common/pipe.hpp>
+#include <common/error.hpp>
 
 int lttng_opt_verbose;
 int lttng_opt_mi;
 int lttng_opt_quiet;
 
-int main(int argc, const char **argv)
+int main(void)
 {
        int ret;
        /*
This page took 0.024303 seconds and 4 git commands to generate.