summaryrefslogtreecommitdiffstats
path: root/toolchain/uClibc/patches-0.9.32/150-cris_missing_syscall_include.patch
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/uClibc/patches-0.9.32/150-cris_missing_syscall_include.patch')
-rw-r--r--toolchain/uClibc/patches-0.9.32/150-cris_missing_syscall_include.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/toolchain/uClibc/patches-0.9.32/150-cris_missing_syscall_include.patch b/toolchain/uClibc/patches-0.9.32/150-cris_missing_syscall_include.patch
new file mode 100644
index 000000000..0f74d6e5e
--- /dev/null
+++ b/toolchain/uClibc/patches-0.9.32/150-cris_missing_syscall_include.patch
@@ -0,0 +1,11 @@
+--- a/libc/sysdeps/linux/cris/sysdep.h
++++ b/libc/sysdeps/linux/cris/sysdep.h
+@@ -20,6 +20,8 @@
+ #ifndef _SYSDEP_H_
+ #define _SYSDEP_H_
+
++#include <sys/syscall.h>
++
+ #ifndef C_LABEL
+
+ /* Define a macro we can use to construct the asm name for a C symbol. */