summaryrefslogtreecommitdiff
path: root/arch/riscv/include/asm/unistd.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/include/asm/unistd.h')
-rw-r--r--arch/riscv/include/asm/unistd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/include/asm/unistd.h b/arch/riscv/include/asm/unistd.h
index 0caea01d5cca..eff7aa9aa163 100644
--- a/arch/riscv/include/asm/unistd.h
+++ b/arch/riscv/include/asm/unistd.h
@@ -16,6 +16,7 @@
* be included multiple times. See uapi/asm/syscalls.h for more info.
*/
+#define __ARCH_WANT_NEW_STAT
#define __ARCH_WANT_SYS_CLONE
#include <uapi/asm/unistd.h>
#include <uapi/asm/syscalls.h>