libubus: define _GNU_SOURCE, needed for O_CLOEXEC
authorFelix Fietkau <nbd@openwrt.org>
Wed, 17 Sep 2014 11:32:43 +0000 (13:32 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 17 Sep 2014 11:32:43 +0000 (13:32 +0200)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
libubus-io.c

index fa53040..9d3ac6c 100644 (file)
@@ -11,6 +11,7 @@
  * GNU General Public License for more details.
  */
 
+#define _GNU_SOURCE
 #include <sys/types.h>
 #include <sys/uio.h>
 #include <sys/socket.h>