summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/nios/bits/syscalls.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/nios/bits/syscalls.h')
-rw-r--r--libc/sysdeps/linux/nios/bits/syscalls.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/nios/bits/syscalls.h b/libc/sysdeps/linux/nios/bits/syscalls.h
new file mode 100644
index 000000000..21f4a370c
--- /dev/null
+++ b/libc/sysdeps/linux/nios/bits/syscalls.h
@@ -0,0 +1,12 @@
+#ifndef _BITS_SYSCALLS_H
+#define _BITS_SYSCALLS_H
+#ifndef _SYSCALL_H
+# error "Never use <bits/syscalls.h> directly; include <sys/syscall.h> instead."
+#endif
+
+#include <features.h>
+/* Do something very evil for now. Until we include our out syscall
+ * macros, short circuit bits/syscall.h and use asm/unistd.h instead */
+#include <asm/unistd.h>
+#endif /* _BITS_SYSCALLS_H */
+