From: Andreas Jaeger Date: Fri, 20 Oct 2000 07:02:12 +0000 (+0000) Subject: Include . X-Git-Tag: glibc-2.16-ports-before-merge~2151 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8a02fd962edbf30c6da5a13bd6a0cd4a7e70fc93;p=thirdparty%2Fglibc.git Include . --- diff --git a/sysdeps/unix/sysv/linux/mips/sys/syscall.h b/sysdeps/unix/sysv/linux/mips/sys/syscall.h index 78248a13bd0..fbfe128ec59 100644 --- a/sysdeps/unix/sysv/linux/mips/sys/syscall.h +++ b/sysdeps/unix/sysv/linux/mips/sys/syscall.h @@ -19,6 +19,18 @@ #ifndef _SYSCALL_H #define _SYSCALL_H 1 +/* This file should list the numbers of the system the system knows. + But instead of duplicating this we use the information available + from the kernel sources. */ +#include + +/* The Linux kernel header file defines macros `__NR_', but some + programs expect the traditional form `SYS_'. So in building libc + we scan the kernel's list and produce with macros for + all the `SYS_' names. On MIPS the program which generates + on the other ports fails, so do this manually. */ + + /* * SVR4 syscalls are in the range from 1 to 999 */