diff options
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.patch | 30 |
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 @@ | |||
1 | From 2a50154fbce38fd36be7e14f5cd4a8b03c65c72f Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Thu, 31 Aug 2017 11:15:37 -0700 | ||
4 | Subject: [PATCH 2/2] Do not undef _GNU_SOURCE | ||
5 | |||
6 | There are functions from tcp.h which are under _GNU_SOURCE | ||
7 | in musl | ||
8 | |||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | --- | ||
11 | Upstream-Status: Pending | ||
12 | |||
13 | src/trace-tcp.c | 1 - | ||
14 | 1 file changed, 1 deletion(-) | ||
15 | |||
16 | diff --git a/src/trace-tcp.c b/src/trace-tcp.c | ||
17 | index 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 | -- | ||
29 | 2.14.1 | ||
30 | |||