TARGET_CPPFLAGS := \
-I$(STAGING_DIR)/usr/include/libnl-tiny \
+ -D_GNU_SOURCE \
$(TARGET_CPPFLAGS)
MAKE_FLAGS += \
$(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)" \
-I$(STAGING_DIR)/usr/include/libnl-tiny \
-I$(STAGING_DIR)/usr/include/mac80211 \
$(TARGET_CPPFLAGS) \
- -DCONFIG_LIBNL20
+ -DCONFIG_LIBNL20 \
+ -D_GNU_SOURCE
MAKE_FLAGS += \
CFLAGS="$(TARGET_CPPFLAGS) $(TARGET_CFLAGS)" \