aboutsummaryrefslogblamecommitdiffstats
path: root/main/ndisc6/remove-undef-gnu-source.patch
blob: 2bc313c63254d9f6c56c55c40009d4e28e5f176a (plain) (tree)
1
2
3


                                                                            













                                                  
Reason: Without _GNU_SOURCE, tcphdr is not defined and leads to build errors
Upstream: no

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>