summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/nios2/bits/syscalls.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/nios2/bits/syscalls.h')
-rw-r--r--libc/sysdeps/linux/nios2/bits/syscalls.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/nios2/bits/syscalls.h b/libc/sysdeps/linux/nios2/bits/syscalls.h
index 3214e3c..5be5d4d 100644
--- a/libc/sysdeps/linux/nios2/bits/syscalls.h
+++ b/libc/sysdeps/linux/nios2/bits/syscalls.h
@@ -4,10 +4,11 @@
# error "Never use <bits/syscalls.h> directly; include <sys/syscall.h> instead."
#endif
+#define TRAP_ID_SYSCALL 0
+
#ifndef __ASSEMBLER__
#include <errno.h>
-#include <asm/traps.h>
#define __syscall_return(type, res) \
do { \