fix
authorMiklos Szeredi <miklos@szeredi.hu>
Thu, 3 May 2007 11:17:29 +0000 (11:17 +0000)
committerMiklos Szeredi <miklos@szeredi.hu>
Thu, 3 May 2007 11:17:29 +0000 (11:17 +0000)
kernel/fuse_i.h

index b9a9ac37a560805e9c40dbabd85edb0e78a9536c..b80b2aaa984fa0fe0874ce192ff42a0fbef83fbe 100644 (file)
@@ -9,9 +9,7 @@
 #ifdef FUSE_MAINLINE
 #include <linux/fuse.h>
 #else
-#include "fuse_kernel.h"
 #include <linux/version.h>
-#include <linux/utsname.h>
 
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,9)
 #error Kernel versions earlier than 2.6.9 are not supported
 #if defined(__arm__) && LINUX_VERSION_CODE < KERNEL_VERSION(2,6,20)
 #define DCACHE_BUG
 #endif
-#ifndef KERNEL_2_6_15_PLUS
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,15)
 #define kmem_cache kmem_cache_s
 #endif
 
+#include "fuse_kernel.h"
 #include "config.h"
 #endif /* FUSE_MAINLINE */
 #include <linux/fs.h>