aboutsummaryrefslogtreecommitdiffstats
path: root/package/swconfig/Makefile
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2009-09-26 19:01:50 +0000
committerNicolas Thill <nico@openwrt.org>2009-09-26 19:01:50 +0000
commitf5007fbcc3687b4a45073194ad1cf2edcd0893b5 (patch)
treeeb015318aa1c36fdb81149f684ef1c939ccbfab3 /package/swconfig/Makefile
parent1a3bb764f67d7cb8fa2c8ac77862d9b093dac77d (diff)
downloadupstream-f5007fbcc3687b4a45073194ad1cf2edcd0893b5.tar.gz
upstream-f5007fbcc3687b4a45073194ad1cf2edcd0893b5.tar.bz2
upstream-f5007fbcc3687b4a45073194ad1cf2edcd0893b5.zip
add _GNU_SOURCE to CPPFLAGS required to include <bits/socket.h> on recent eglibc revisions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17749 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/swconfig/Makefile')
-rw-r--r--package/swconfig/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/swconfig/Makefile b/package/swconfig/Makefile
index bec94a1ca0..a7bed73174 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) \