From 4c4f35cf2230d70b9ddd87638ca911e8a563f2f3 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 17 Sep 2014 13:32:43 +0200 Subject: [PATCH] libubus: define _GNU_SOURCE, needed for O_CLOEXEC Signed-off-by: Felix Fietkau --- libubus-io.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libubus-io.c b/libubus-io.c index fa53040..9d3ac6c 100644 --- a/libubus-io.c +++ b/libubus-io.c @@ -11,6 +11,7 @@ * GNU General Public License for more details. */ +#define _GNU_SOURCE #include #include #include