summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/swconfig/Makefile1
-rw-r--r--package/wprobe/Makefile1
2 files changed, 2 insertions, 0 deletions
diff --git a/package/swconfig/Makefile b/package/swconfig/Makefile
index bec94a1..a7bed73 100644
--- a/package/swconfig/Makefile
+++ b/package/swconfig/Makefile
@@ -21,6 +21,7 @@ define Package/swconfig
endef
TARGET_CPPFLAGS := \
+ -D_GNU_SOURCE \
-I$(STAGING_DIR)/usr/include/libnl-tiny \
-I$(LINUX_DIR)/include \
-I$(PKG_BUILD_DIR) \
diff --git a/package/wprobe/Makefile b/package/wprobe/Makefile
index 02e9919..536a85e 100644
--- a/package/wprobe/Makefile
+++ b/package/wprobe/Makefile
@@ -61,6 +61,7 @@ define Build/Prepare
endef
TARGET_CPPFLAGS := \
+ -D_GNU_SOURCE \
-I$(STAGING_DIR)/usr/include/libnl-tiny \
$(TARGET_CPPFLAGS)