summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/i960
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/i960')
-rw-r--r--libc/sysdeps/linux/i960/bits/syscalls.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/i960/bits/syscalls.h b/libc/sysdeps/linux/i960/bits/syscalls.h
index 5c30e2193..da6a6d43e 100644
--- a/libc/sysdeps/linux/i960/bits/syscalls.h
+++ b/libc/sysdeps/linux/i960/bits/syscalls.h
@@ -1,10 +1,15 @@
-/*
- * nothing needed here until we want pthread support or similar
- */
+#ifndef _BITS_SYSCALLS_H
+#define _BITS_SYSCALLS_H
+#ifndef _SYSCALL_H
+# error "Never use <bits/syscall.h> directly; include <sys/syscall.h> instead."
+#endif
#include <features.h>
-/* Do something very evil for now. Until we include our out syscall
+
+/* Do something very evil for now. Until we create our own syscall
* macros, short circuit bits/syscall.h and use asm/unistd.h instead */
#define _BITS_SYSCALL_H
#include <asm/unistd.h>
+#endif /* _BITS_SYSCALLS_H */
+