Explorar el Código

only pull in errno.h when not assembler

Mike Frysinger hace 19 años
padre
commit
27128f302f
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      libc/sysdeps/linux/m68k/bits/syscalls.h

+ 2 - 2
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