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..9d684e933d21ebfda891ced2b7d56b5aafd4a59e 100644 |
--- a/sysdeps/unix/sysv/linux/sys/syscall.h |
+++ b/sysdeps/unix/sysv/linux/sys/syscall.h |
@@ -23,6 +23,25 @@ |
But instead of duplicating this we use the information available |
from the kernel sources. */ |
#include <asm/unistd.h> |
+# ifdef __i386__ |
khim
2012/04/13 11:56:48
#ifdef (without space before ifdef to line up with
|
+#define __NR_accept 325 |
khim
2012/04/13 11:56:48
Here it'll be better to use
# define
but this is
|
+#define __NR_bind 326 |
+#define __NR_listen 327 |
+#define __NR_connect 328 |
+#define __NR_send 329 |
+#define __NR_sendto 330 |
+#define __NR_sendmsg 331 |
+#define __NR_recv 332 |
+#define __NR_recvfrom 333 |
+#define __NR_recvmsg 334 |
+#define __NR_shutdown 335 |
+#define __NR_getsockopt 336 |
+#define __NR_setsockopt 337 |
+#define __NR_getsockname 338 |
+#define __NR_getpeername 339 |
+#define __NR_socketpair 340 |
+ |
+#endif |
#ifndef _LIBC |
/* The Linux kernel header file defines macros `__NR_<name>', but some |