aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/ndisc6/remove-undef-gnu-source.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/ndisc6/remove-undef-gnu-source.patch b/testing/ndisc6/remove-undef-gnu-source.patch
new file mode 100644
index 0000000000..b490b05b84
--- /dev/null
+++ b/testing/ndisc6/remove-undef-gnu-source.patch
@@ -0,0 +1,14 @@
+diff --git a/src/trace-tcp.c b/src/trace-tcp.c.new
+index 5aba9d4d2d..1bcc40cdb1 100644
+--- a/src/trace-tcp.c
++++ b/src/trace-tcp.c.new
+@@ -21,9 +21,6 @@
+ # include <config.h>
+ #endif
+
+-#undef _GNU_SOURCE
+-#define _DEFAULT_SOURCE 1
+-
+ #include <string.h>
+ #include <inttypes.h>
+ #include <stdalign.h>