add _GNU_SOURCE to CPPFLAGS required to include <bits/socket.h> on recent eglibc...
[openwrt.git] / package / swconfig / Makefile
index bec94a1..a7bed73 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) \