From: short <> Date: Mon, 6 Oct 2003 09:58:29 +0000 (+0000) Subject: Prevent -I/usr/include during Linux kernel module compilation. X-Git-Tag: lufs_0_9_6_captive3~4 X-Git-Url: http://git.jankratochvil.net/?a=commitdiff_plain;h=c9948207bada22b437d9a3aaf6597931d40dc539;hp=9f5ba7f6315a878a1769bac8a5d2460bfbd74710;p=lufs.git Prevent -I/usr/include during Linux kernel module compilation. --- diff --git a/include/Makefile.am b/include/Makefile.am index d9ab606..6158d62 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -1 +1,8 @@ -nobase_include_HEADERS = lufs/proto.h lufs/fs.h \ No newline at end of file +nobase_include_HEADERS = lufs/proto.h lufs/fs.h + +basedir=$(datadir)/lufs +src24dir=$(basedir)/2.4 +src25dir=$(basedir)/2.5 + +src24_HEADERS = lufs/proto.h +src25_HEADERS = lufs/proto.h diff --git a/kernel/Linux/2.4/lufs.h b/kernel/Linux/2.4/lufs.h index ca8e01e..237b45c 100644 --- a/kernel/Linux/2.4/lufs.h +++ b/kernel/Linux/2.4/lufs.h @@ -27,7 +27,7 @@ #include #include -#include "lufs/proto.h" +#include "proto.h" #undef TRACE #undef WARN diff --git a/kernel/Linux/2.5/lufs.h b/kernel/Linux/2.5/lufs.h index 1275099..72bacf8 100644 --- a/kernel/Linux/2.5/lufs.h +++ b/kernel/Linux/2.5/lufs.h @@ -27,7 +27,7 @@ #include #include -#include "../../../include/lufs/proto.h" +#include "proto.h" #undef TRACE #undef WARN