libubus: define _GNU_SOURCE, needed for O_CLOEXEC

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
This commit is contained in:
Felix Fietkau 2014-09-17 13:32:43 +02:00
parent 9841dae95a
commit 4c4f35cf22

View 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>