From: Lucas De Marchi Date: Fri, 26 Dec 2014 01:07:48 +0000 (-0200) Subject: build-sys: Don't add libkmod subdirectory to include path X-Git-Tag: v20~90 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1315123;p=thirdparty%2Fkmod.git build-sys: Don't add libkmod subdirectory to include path Like 05437b8 (Makefile.am: Don't add abc subdirectory to include path) in libabc by Josh Triplett. --- diff --git a/Makefile.am b/Makefile.am index 8a69fbcb..72b66eca 100644 --- a/Makefile.am +++ b/Makefile.am @@ -16,7 +16,6 @@ export GCC_COLORS AM_CPPFLAGS = \ -include $(top_builddir)/config.h \ - -I$(top_srcdir)/libkmod \ -I$(top_srcdir) \ -DSYSCONFDIR=\""$(sysconfdir)"\" \ -DLIBEXECDIR=\""$(libexecdir)"\" \ diff --git a/testsuite/init_module.c b/testsuite/init_module.c index 2af18286..a188560c 100644 --- a/testsuite/init_module.c +++ b/testsuite/init_module.c @@ -43,7 +43,7 @@ #include /* kmod_elf_get_section() is not exported, we need the private header */ -#include +#include /* FIXME: hack, change name so we don't clash */ #undef ERR diff --git a/testsuite/test-blacklist.c b/testsuite/test-blacklist.c index 7202bf85..ce17399b 100644 --- a/testsuite/test-blacklist.c +++ b/testsuite/test-blacklist.c @@ -28,7 +28,7 @@ /* good luck bulding a kmod_list outside of the library... makes this blacklist * function rather pointless */ -#include +#include /* FIXME: hack, change name so we don't clash */ #undef ERR