svn commit: trunk/uClibc/libc/sysdeps/linux/m68k/bits
vapier at uclibc.org
vapier at uclibc.org
Thu Aug 24 19:47:34 UTC 2006
Author: vapier
Date: 2006-08-24 12:47:34 -0700 (Thu, 24 Aug 2006)
New Revision: 15982
Log:
only pull in errno.h when not assembler
Modified:
trunk/uClibc/libc/sysdeps/linux/m68k/bits/syscalls.h
Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/m68k/bits/syscalls.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/m68k/bits/syscalls.h 2006-08-24 19:46:55 UTC (rev 15981)
+++ trunk/uClibc/libc/sysdeps/linux/m68k/bits/syscalls.h 2006-08-24 19:47:34 UTC (rev 15982)
@@ -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
More information about the uClibc-cvs
mailing list