]> git.ozlabs.org Git - ccan/blobdiff - ccan/opt/test/run-helpers.c
iscsi, nfs, opt, tap: use config.h instead of defining _GNU_SOURCE.
[ccan] / ccan / opt / test / run-helpers.c
index 34ffbab834cb11923d2ba7719fd1091850860b5e..081d27a9d1e62f90b7a86dc8dc9657b41d429ba5 100644 (file)
@@ -1,4 +1,4 @@
-#define _GNU_SOURCE
+#include "config.h"
 #include <stdio.h>
 #include <ccan/tap/tap.h>
 #include <setjmp.h>
@@ -22,6 +22,7 @@ static int saved_vprintf(const char *fmt, va_list ap);
 #include <ccan/opt/helpers.c>
 #include <ccan/opt/opt.c>
 #include <ccan/opt/usage.c>
+#include <ccan/opt/parse.c>
 
 static void reset_options(void)
 {