| Index: sysdeps/unix/sysv/linux/sys/syscall.h
|
| diff --git a/sysdeps/unix/sysv/linux/sys/syscall.h b/sysdeps/unix/sysv/linux/sys/syscall.h
|
| index 445ca3763938a49e1773cba83f84341bb4c7e1e4..201e3481006653c63ec742e5511893b44d71a65d 100644
|
| --- a/sysdeps/unix/sysv/linux/sys/syscall.h
|
| +++ b/sysdeps/unix/sysv/linux/sys/syscall.h
|
| @@ -23,6 +23,28 @@
|
| But instead of duplicating this we use the information available
|
| from the kernel sources. */
|
| #include <asm/unistd.h>
|
| +#ifdef __i386__
|
| +# define __NR_accept 2325
|
| +# define __NR_bind 2326
|
| +# define __NR_listen 2327
|
| +# define __NR_connect 2328
|
| +# define __NR_send 2329
|
| +# define __NR_sendto 2330
|
| +# define __NR_sendmsg 2331
|
| +# define __NR_recv 2332
|
| +# define __NR_recvfrom 2333
|
| +# define __NR_recvmsg 2334
|
| +# define __NR_shutdown 2335
|
| +# define __NR_getsockopt 2336
|
| +# define __NR_setsockopt 2337
|
| +# define __NR_getsockname 2338
|
| +# define __NR_getpeername 2339
|
| +# define __NR_socketpair 2340
|
| +#endif
|
| +#ifdef __x86_64__
|
| +# define __NR_send 2329
|
| +# define __NR_recv 2332
|
| +#endif
|
|
|
| #ifndef _LIBC
|
| /* The Linux kernel header file defines macros `__NR_<name>', but some
|
|
|