board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / package / connman / 0002-nat-build-failure.patch
blob0ab58501d0ef60319c18d2ccc400415d0291b499
1 From 68f4b4f5b220f256b17ad2f084d61fe89f3632ae Mon Sep 17 00:00:00 2001
2 From: Gustavo Zacarias <gustavo@zacarias.com.ar>
3 Date: Tue, 19 Apr 2016 08:38:38 -0300
4 Subject: [PATCH] nat: fix build failure
6 _GNU_SOURCE needs to be defined so that O_CLOEXEC symbols can be found in
7 system header files.
9 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
10 ---
11 Status: submitted upstream
13 src/nat.c | 1 +
14 1 file changed, 1 insertion(+)
16 diff --git a/src/nat.c b/src/nat.c
17 index 33ae6df..62e21d4 100644
18 --- a/src/nat.c
19 +++ b/src/nat.c
20 @@ -24,6 +24,7 @@
21 #include <config.h>
22 #endif
24 +#define _GNU_SOURCE
25 #include <errno.h>
26 #include <sys/types.h>
27 #include <sys/stat.h>
28 --
29 2.7.3