summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/unistd.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/include/asm/unistd.h')
-rw-r--r--arch/mips/include/asm/unistd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/include/asm/unistd.h b/arch/mips/include/asm/unistd.h
index c2196b1b6604..25a5253db7f4 100644
--- a/arch/mips/include/asm/unistd.h
+++ b/arch/mips/include/asm/unistd.h
@@ -50,6 +50,8 @@
# ifdef CONFIG_32BIT
# define __ARCH_WANT_STAT64
# define __ARCH_WANT_SYS_TIME32
+# else
+# define __ARCH_WANT_COMPAT_STAT
# endif
# ifdef CONFIG_MIPS32_O32
# define __ARCH_WANT_SYS_TIME32