add _GNU_SOURCE to CPPFLAGS required to include <bits/socket.h> on recent eglibc...
[openwrt.git] / package / wprobe / Makefile
index 02e9919aa2250755dd61fa0a7c3b9f6fc67f0ea6..536a85eb2a7294424a901e4d6dd927cb295b7813 100644 (file)
@@ -61,6 +61,7 @@ define Build/Prepare
 endef
 
 TARGET_CPPFLAGS := \
+       -D_GNU_SOURCE \
        -I$(STAGING_DIR)/usr/include/libnl-tiny \
        $(TARGET_CPPFLAGS)