add _GNU_SOURCE to CPPFLAGS required to include <bits/socket.h> on recent eglibc...
[openwrt/svn-archive/archive.git] / package / swconfig / Makefile
index bec94a1ca0980ffe28f74a91ff4e40e215fe7ec1..a7bed73174d768f50bf25cfb158fcedb96d9a5cd 100644 (file)
@@ -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) \