OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4107f8
)
only pull in errno.h when not assembler
author
Mike Frysinger
<vapier@gentoo.org>
Thu, 24 Aug 2006 19:47:34 +0000
(19:47 -0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Thu, 24 Aug 2006 19:47:34 +0000
(19:47 -0000)
libc/sysdeps/linux/m68k/bits/syscalls.h
patch
|
blob
|
history
diff --git
a/libc/sysdeps/linux/m68k/bits/syscalls.h
b/libc/sysdeps/linux/m68k/bits/syscalls.h
index
3e33038
..
36b1b9d
100644
(file)
--- 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