]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/tile/include/asm/stat.h
arch/tile: various header improvements for building drivers
[karo-tx-linux.git] / arch / tile / include / asm / stat.h
index b16e5db8f0e7225f9e8789a747f9295d341d947d..c0db34d56be367f24a29b9e4249a98d9ad356961 100644 (file)
@@ -1,4 +1,4 @@
-#ifdef CONFIG_COMPAT
+#if defined(__KERNEL__) && defined(CONFIG_COMPAT)
 #define __ARCH_WANT_STAT64     /* Used for compat_sys_stat64() etc. */
 #endif
 #include <asm-generic/stat.h>