From e969985eb922dc2889f1236ccb6d74fe8eb27c66 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 24 Jan 2010 23:01:01 +0000 Subject: [PATCH] miniupnpd: add the kernel headers shipped by iptables to CFLAGS SVN-Revision: 19320 --- net/miniupnpd/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/miniupnpd/Makefile b/net/miniupnpd/Makefile index 612234288..5495689ef 100644 --- a/net/miniupnpd/Makefile +++ b/net/miniupnpd/Makefile @@ -35,7 +35,7 @@ define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR) -f Makefile.openwrt \ $(TARGET_CONFIGURE_OPTS) \ STAGING_DIR="$(STAGING_DIR)" \ - CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -DIPTABLES_143" \ + CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -I$(firstword $(wildcard $(KERNEL_BUILD_DIR)/iptables-*/include)) -DIPTABLES_143" \ LIBS="$(STAGING_DIR)/usr/lib/libiptc.so $(STAGING_DIR)/usr/lib/libip4tc.so $(STAGING_DIR)/usr/lib/libip6tc.so" endef -- 2.30.2