From 1315123955f8c53e5ac9f7f5fb937c5e110aa4f1 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Thu, 25 Dec 2014 23:07:48 -0200 Subject: [PATCH] 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. --- Makefile.am | 1 - testsuite/init_module.c | 2 +- testsuite/test-blacklist.c | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) 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 -- 2.47.3