diff options
-rw-r--r-- | kernel/Makefile.am | 4 | ||||
-rw-r--r-- | kernel/fuse_i.h | 10 |
2 files changed, 11 insertions, 3 deletions
diff --git a/kernel/Makefile.am b/kernel/Makefile.am index 4c0a17d..89b1018 100644 --- a/kernel/Makefile.am +++ b/kernel/Makefile.am @@ -5,7 +5,7 @@ EXTRA_DIST = dev.c dir.c file.c inode.c util.c fuse_i.h CC = @CC@ LD = @LD@ CFLAGS = -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -pipe -CPPFAGS = -I@KERNINCLUDE@ -I../include -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES +CPPFLAGS = -I@KERNINCLUDE@ -I../include -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES INSTALL = @INSTALL@ fusemoduledir = @kmoduledir@/kernel/fs/fuse @@ -27,7 +27,7 @@ clean-local: rm -f *.o *.s .c.o: - $(CC) $(CFLAGS) $(CPPFAGS) -c $< + $(CC) $(CFLAGS) $(CPPFLAGS) -c $< fuse_objs = dev.o dir.o file.o inode.o util.o diff --git a/kernel/fuse_i.h b/kernel/fuse_i.h index 262e05d..23cc914 100644 --- a/kernel/fuse_i.h +++ b/kernel/fuse_i.h @@ -6,14 +6,22 @@ See the file COPYING. */ + #include <linux/fuse.h> -#include <linux/module.h> +#include <linux/config.h> +#ifdef CONFIG_MODVERSIONS +#define MODVERSIONS +#include <linux/modversions.h> +#endif #include <linux/kernel.h> +#include <linux/module.h> + #include <linux/fs.h> #include <linux/list.h> #include <linux/spinlock.h> + /** * A Fuse connection. * |