Browse Source

only pull in errno.h when not assembler

Mike Frysinger 19 years ago
parent
commit
27128f302f
1 changed files with 2 additions and 2 deletions
  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