diff options
| author | Andreas Jaeger <aj@suse.de> | 2000-10-20 07:02:12 +0000 |
|---|---|---|
| committer | Andreas Jaeger <aj@suse.de> | 2000-10-20 07:02:12 +0000 |
| commit | 8a02fd962edbf30c6da5a13bd6a0cd4a7e70fc93 (patch) | |
| tree | 1a5cb90417195058216f7e2339e5340db689ad8f /sysdeps/unix/sysv/linux | |
| parent | d0168cc0992a79245c17d892a622fec527b1fb03 (diff) | |
| download | glibc-8a02fd962edbf30c6da5a13bd6a0cd4a7e70fc93.tar.xz glibc-8a02fd962edbf30c6da5a13bd6a0cd4a7e70fc93.zip | |
Include <asm/unistd.h>.
Diffstat (limited to 'sysdeps/unix/sysv/linux')
| -rw-r--r-- | sysdeps/unix/sysv/linux/mips/sys/syscall.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/mips/sys/syscall.h b/sysdeps/unix/sysv/linux/mips/sys/syscall.h index 78248a13bd..fbfe128ec5 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 <asm/unistd.h> + +/* The Linux kernel header file defines macros `__NR_<name>', but some + programs expect the traditional form `SYS_<name>'. So in building libc + we scan the kernel's list and produce <bits/syscall.h> with macros for + all the `SYS_' names. On MIPS the program which generates <bits/syscalls.h> + on the other ports fails, so do this manually. */ + + /* * SVR4 syscalls are in the range from 1 to 999 */ |
