OSDN Git Service

only pull in errno.h when not assembler
authorMike Frysinger <vapier@gentoo.org>
Thu, 24 Aug 2006 19:47:34 +0000 (19:47 -0000)
committerMike Frysinger <vapier@gentoo.org>
Thu, 24 Aug 2006 19:47:34 +0000 (19:47 -0000)
libc/sysdeps/linux/m68k/bits/syscalls.h

index 3e33038..36b1b9d 100644 (file)
@@ -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