aboutsummaryrefslogtreecommitdiffstats
path: root/package/iw/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/iw/Makefile')
-rw-r--r--package/iw/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/iw/Makefile b/package/iw/Makefile
index 9187b55c85..fb10f10f2f 100644
--- a/package/iw/Makefile
+++ b/package/iw/Makefile
@@ -37,7 +37,8 @@ TARGET_CPPFLAGS:= \
-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)" \