--- trunk/mkinitrd-magellan/klibc/usr/klibc/SYSCALLS.def	2010/07/22 07:47:49	1121
+++ trunk/mkinitrd-magellan/klibc/usr/klibc/SYSCALLS.def	2010/08/18 21:11:40	1122
@@ -47,6 +47,7 @@
 <alpha,ia64> int getpriority(int, int);
 <!alpha,ia64> int getpriority::__getpriority(int, int);
 int setpriority(int, int, int);
+int getrusage(int, struct rusage *);
 int sched_setscheduler(pid_t, int, const struct sched_param *);
 int sched_yield();
 <i386> int prctl@varadic(int, unsigned long, unsigned long, unsigned long, unsigned long);
@@ -98,7 +99,6 @@
  * Inode-related system calls
  */
 int access(const char *, int);
-<?> int faccessat(int, const char *, int);
 int link(const char *, const char *);
 <?> int linkat(int, const char *, int, const char *);
 int unlink(const char *);
@@ -115,7 +115,7 @@
 int mkdir(const char *, mode_t);
 <?> int mkdirat(int, const char *, const char *, mode_t);
 int rmdir(const char *);
-<!alpha,ia64,mips,mips64,sparc,sparc64> int pipe(int *);
+<!alpha,ia64,mips,mips64,sh,sparc,sparc64> int pipe(int *);
 mode_t umask(mode_t);
 int chroot(const char *);
 int symlink(const char *, const char *);
@@ -259,4 +259,6 @@
  * system calls.
  */
 <?!i386> long socketcall::__socketcall(int, const unsigned long *);
+#if ! _KLIBC_SYS_SOCKETCALL
 #include "SOCKETCALLS.def"
+#endif
