summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sparc/bits/syscalls.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/sparc/bits/syscalls.h')
-rw-r--r--libc/sysdeps/linux/sparc/bits/syscalls.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/sparc/bits/syscalls.h b/libc/sysdeps/linux/sparc/bits/syscalls.h
index 53dd742e9..5c30e2193 100644
--- a/libc/sysdeps/linux/sparc/bits/syscalls.h
+++ b/libc/sysdeps/linux/sparc/bits/syscalls.h
@@ -1,6 +1,10 @@
/*
* nothing needed here until we want pthread support or similar
- * sparc PIC uses the same syscall defines as non-pic.
*/
+#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 */
+#define _BITS_SYSCALL_H
#include <asm/unistd.h>
+