summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/xtensa
diff options
context:
space:
mode:
authorChris Zankel <chris@zankel.net>2012-10-17 17:45:03 -0700
committerChris Zankel <chris@zankel.net>2012-11-03 12:57:45 -0700
commit29fb29d31913438a27f708231d11f7dac46d7910 (patch)
tree14dc1268ce2541c5340c2118b0ed4cbffcf8cf9e /libc/sysdeps/linux/xtensa
parent04f13f362e7aafc13fd6476a7d90ba902974d4bd (diff)
xtensa: sysdep.h needs to include sys/syscall.h
The Xtensa version of sysdep.h didn't include sys/syscall.h. This header file is, for example, needed by not-cancel.h, which uses the INTERNAL_SYSCALL macro. Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'libc/sysdeps/linux/xtensa')
-rw-r--r--libc/sysdeps/linux/xtensa/sysdep.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/xtensa/sysdep.h b/libc/sysdeps/linux/xtensa/sysdep.h
index fb691f8c6..176e88f11 100644
--- a/libc/sysdeps/linux/xtensa/sysdep.h
+++ b/libc/sysdeps/linux/xtensa/sysdep.h
@@ -17,6 +17,8 @@
Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
Boston, MA 02110-1301, USA. */
+#include <sys/syscall.h>
+
#ifdef __ASSEMBLER__
#define ALIGNARG(log2) 1 << log2