summaryrefslogtreecommitdiff
path: root/arch/arm64/include/asm/stat.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm64/include/asm/stat.h')
-rw-r--r--arch/arm64/include/asm/stat.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm64/include/asm/stat.h b/arch/arm64/include/asm/stat.h
index d87225cbead8..a9f580c28f7b 100644
--- a/arch/arm64/include/asm/stat.h
+++ b/arch/arm64/include/asm/stat.h
@@ -18,7 +18,8 @@
#include <asm-generic/stat.h>
-#if defined(__KERNEL__) && defined(CONFIG_COMPAT)
+#ifdef __KERNEL__
+#ifdef CONFIG_COMPAT
#include <asm/compat.h>
@@ -58,5 +59,6 @@ struct stat64 {
};
#endif
+#endif
#endif