openwrt/toolchain/uClibc/patches-0.9.32/150-cris_missing_syscall_include.patch
Felix Fietkau bfe53cdbbe uClibc: fix cris compile on 0.9.32
SVN-Revision: 24094
2010-11-22 16:18:43 +00:00

12 lines
261 B
Diff

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