Index: libc/sysdeps/linux/mips/pipe.S =================================================================== --- libc/sysdeps/linux/mips/pipe.S (revision 16104) +++ libc/sysdeps/linux/mips/pipe.S (revision 16105) @@ -8,9 +8,9 @@ /*see uClibc's sh/pipe.c and glibc-2.2.4's mips/pipe.S */ #include -#include +#include #include -#include +#include .globl pipe .ent pipe, 0 Index: libc/sysdeps/linux/mips/clone.S =================================================================== --- libc/sysdeps/linux/mips/clone.S (revision 16104) +++ libc/sysdeps/linux/mips/clone.S (revision 16105) @@ -25,7 +25,7 @@ #include #define _ERRNO_H 1 #include -#include +#include /* int clone(int (*fn)(void *arg), void *child_stack, int flags, void *arg) */ Index: libc/sysdeps/linux/mips/syscall.S =================================================================== --- libc/sysdeps/linux/mips/syscall.S (revision 16104) +++ libc/sysdeps/linux/mips/syscall.S (revision 16105) @@ -17,8 +17,8 @@ 02111-1307 USA. */ #include -#include -#include +#include +#include #ifdef __PIC__ .option pic2 Index: libc/sysdeps/linux/mips/sys/sysmips.h =================================================================== --- libc/sysdeps/linux/mips/sys/sysmips.h (revision 16104) +++ libc/sysdeps/linux/mips/sys/sysmips.h (revision 16105) @@ -22,9 +22,17 @@ #include /* - * Get the kernel definition for sysmips(2) + * Commands for the sysmips(2) call + * + * sysmips(2) is deprecated - though some existing software uses it. + * We only support the following commands. Sysmips exists for compatibility + * purposes only so new software should avoid it. */ -#include +#define SETNAME 1 /* set hostname */ +#define FLUSH_CACHE 3 /* writeback and invalidate caches */ +#define MIPS_FIXADE 7 /* control address error fixing */ +#define MIPS_RDNVRAM 10 /* read NVRAM */ +#define MIPS_ATOMIC_SET 2001 /* atomically set variable */ __BEGIN_DECLS