summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/ndisc6/ndisc6/0002-Do-not-undef-_GNU_SOURCE.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-support/ndisc6/ndisc6/0002-Do-not-undef-_GNU_SOURCE.patch')
-rw-r--r--meta-networking/recipes-support/ndisc6/ndisc6/0002-Do-not-undef-_GNU_SOURCE.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/ndisc6/ndisc6/0002-Do-not-undef-_GNU_SOURCE.patch b/meta-networking/recipes-support/ndisc6/ndisc6/0002-Do-not-undef-_GNU_SOURCE.patch
new file mode 100644
index 000000000..3cc2ba80c
--- /dev/null
+++ b/meta-networking/recipes-support/ndisc6/ndisc6/0002-Do-not-undef-_GNU_SOURCE.patch
@@ -0,0 +1,30 @@
1From 2a50154fbce38fd36be7e14f5cd4a8b03c65c72f Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 31 Aug 2017 11:15:37 -0700
4Subject: [PATCH 2/2] Do not undef _GNU_SOURCE
5
6There are functions from tcp.h which are under _GNU_SOURCE
7in musl
8
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11Upstream-Status: Pending
12
13 src/trace-tcp.c | 1 -
14 1 file changed, 1 deletion(-)
15
16diff --git a/src/trace-tcp.c b/src/trace-tcp.c
17index 62d22ff..380008e 100644
18--- a/src/trace-tcp.c
19+++ b/src/trace-tcp.c
20@@ -21,7 +21,6 @@
21 # include <config.h>
22 #endif
23
24-#undef _GNU_SOURCE
25 #define _DEFAULT_SOURCE 1
26
27 #include <string.h>
28--
292.14.1
30