diff options
Diffstat (limited to 'libc/sysdeps/linux/mips/bits')
-rw-r--r-- | libc/sysdeps/linux/mips/bits/syscalls.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/mips/bits/syscalls.h b/libc/sysdeps/linux/mips/bits/syscalls.h index 5c30e2193..e1981445f 100644 --- a/libc/sysdeps/linux/mips/bits/syscalls.h +++ b/libc/sysdeps/linux/mips/bits/syscalls.h @@ -1,10 +1,14 @@ -/* - * 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 */ |