[package] keepalived: fix compile

newer kernels (3.7) split user side headers

should fix: #12875

Should the patch be compatible with older kernels too?
(see https://dev.openwrt.org/ticket/12875#comment:6 )

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>


git-svn-id: svn://svn.openwrt.org/openwrt/packages@38841 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
hauke 2013-11-17 17:09:09 +00:00
parent 77542a33ea
commit 34d92dca7c

View File

@ -43,7 +43,7 @@ CONFIGURE_ARGS+= \
--disable-strip \ --disable-strip \
--disable-lvs \ --disable-lvs \
--disable-lvs-syncd \ --disable-lvs-syncd \
--with-kernel-dir="$(LINUX_DIR)" --with-kernel-dir="$(LINUX_DIR)/$(LINUX_UAPI_DIR)"
CONFIGURE_VARS+= \ CONFIGURE_VARS+= \
ac_cv_file_$(call acvar,$(LINUX_DIR)/net/core/link_watch.c)=yes ac_cv_file_$(call acvar,$(LINUX_DIR)/net/core/link_watch.c)=yes