summaryrefslogtreecommitdiff
path: root/arch/tile/include/asm/stat.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/tile/include/asm/stat.h')
-rw-r--r--arch/tile/include/asm/stat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/tile/include/asm/stat.h b/arch/tile/include/asm/stat.h
index b16e5db8f0e7..c0db34d56be3 100644
--- a/arch/tile/include/asm/stat.h
+++ b/arch/tile/include/asm/stat.h
@@ -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>