openwrtv3/toolchain/uClibc/patches-0.9.32/150-cris_missing_syscall_include.patch

12 lines
261 B
Diff
Raw Normal View History

--- 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. */