fix more issues with libnl-tiny and eglibc
[openwrt/svn-archive/archive.git] / package / hostapd / Makefile
index bd873b9..6d0b18b 100644 (file)
@@ -98,7 +98,8 @@ TARGET_CPPFLAGS := \
        $(TARGET_CPPFLAGS) \
        -I$(STAGING_DIR)/usr/include/madwifi \
        -I$(STAGING_DIR)/usr/include/mac80211 \
-       -DCONFIG_LIBNL20
+       -DCONFIG_LIBNL20 \
+       -D_GNU_SOURCE
 
 define Build/CompileTarget
        CFLAGS="$(TARGET_CPPFLAGS) $(TARGET_CFLAGS)" \