diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2002-04-08 10:00:56 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2002-04-08 10:00:56 +0000 |
commit | 98fa847c82f06e206bdb6f3f3f9893ffcb4c5692 (patch) | |
tree | c0360954d5bd0f2d3a1f1395a3653e296d3319f5 /kernel | |
parent | 45c701911e15c828ee1a376398a5179e42ccca97 (diff) |
minor fixes
Diffstat (limited to 'kernel')
-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. * |