libiwinfo: compile with -D_GNU_SOURCE, fixes eglibc compatibility
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 27 Jun 2011 01:26:37 +0000 (01:26 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 27 Jun 2011 01:26:37 +0000 (01:26 +0000)
contrib/package/iwinfo/Makefile

index d473f75..cffa8f9 100644 (file)
@@ -45,7 +45,8 @@ IWINFO_BACKENDS := \
 
 TARGET_CFLAGS += \
        -I$(STAGING_DIR)/usr/include/libnl-tiny \
-       -I$(STAGING_DIR)/usr/include
+       -I$(STAGING_DIR)/usr/include \
+       -D_GNU_SOURCE
 
 MAKE_FLAGS += \
        FPIC="$(FPIC)" \