summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-08-24 19:47:34 +0000
committerMike Frysinger <vapier@gentoo.org>2006-08-24 19:47:34 +0000
commit27128f302fbb564e9d48770568612185e2c9f06b (patch)
treeddc1ba901cf522fa39c902e6dd39b1fe7f033dd4 /libc/sysdeps
parentf4107f8f058319a71b365ea917716ada71a60312 (diff)
only pull in errno.h when not assembler
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/m68k/bits/syscalls.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/m68k/bits/syscalls.h b/libc/sysdeps/linux/m68k/bits/syscalls.h
index 3e3303897..36b1b9d91 100644
--- a/libc/sysdeps/linux/m68k/bits/syscalls.h
+++ b/libc/sysdeps/linux/m68k/bits/syscalls.h
@@ -4,8 +4,6 @@
# error "Never use <bits/syscalls.h> directly; include <sys/syscall.h> instead."
#endif
-#include <errno.h>
-
/* This includes the `__NR_<name>' syscall numbers taken from the Linux kernel
* header files. It also defines the traditional `SYS_<name>' macros for older
* programs. */
@@ -20,6 +18,8 @@
#ifndef __ASSEMBLER__
+#include <errno.h>
+
/* Linux takes system call arguments in registers:
syscall number %d0 call-clobbered