summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sparc
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-02-04 08:30:23 +0000
committerEric Andersen <andersen@codepoet.org>2002-02-04 08:30:23 +0000
commit552febc3b914bd0df4b4b659fdacd2acef36ebef (patch)
treef082738557eb83692226add9e7478d9ae631495a /libc/sysdeps/linux/sparc
parent7b830a0c65d0482ac9f9fe4f689c0f4ce8944848 (diff)
Be consistant about the ways in which asm/unistd.h might
be included to avoid gratuitous conflicts... This is a hack till we have proper _syscall macros for all archs. -Erik
Diffstat (limited to 'libc/sysdeps/linux/sparc')
-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>
+