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 fa53040575b7fef4a8401d6999d6db20f7650fd2..9d3ac6c33f4d926c7f5c5d2033d531fc5fc6f834 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>