diff --git a/net/openswan/Makefile b/net/openswan/Makefile index d80cfc731..72dfd7765 100644 --- a/net/openswan/Makefile +++ b/net/openswan/Makefile @@ -62,7 +62,7 @@ OPENSWAN_MAKE := $(MAKE) -C $(PKG_BUILD_DIR) \ KERNELSRC="$(LINUX_DIR)" \ ARCH="$(LINUX_KARCH)" \ CROSS_COMPILE="$(TARGET_CROSS)" \ - USERCOMPILE="$(TARGET_CFLAGS) -I$(PKG_BUILD_DIR)/linux/include $(TARGET_CPPFLAGS) $(TARGET_LDFLAGS)" \ + USERCOMPILE="$(TARGET_CFLAGS) -I$(PKG_BUILD_DIR)/ports/linux/include -I$(PKG_BUILD_DIR)/linux/include -I$(PKG_BUILD_DIR)/include $(TARGET_CPPFLAGS) $(TARGET_LDFLAGS)" \ IPSECDIR="/usr/lib/ipsec" \ INC_USRLOCAL="/usr" \ INC_RCDEFAULT="/etc/init.d" \