summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-02-15 05:52:27 -0500
committerRich Felker <dalias@aerifal.cx>2011-02-15 05:52:27 -0500
commitc2afb747b0296f23cd1903e82ccbdee3fc2978fd (patch)
tree5dc4802fd4fed8311c04250d910e60da54f0bbbf /arch
parentf7eb91e7952553dc24a734030a6c78f8dc6ed455 (diff)
downloadmusl-c2afb747b0296f23cd1903e82ccbdee3fc2978fd.tar.gz
musl-c2afb747b0296f23cd1903e82ccbdee3fc2978fd.tar.bz2
musl-c2afb747b0296f23cd1903e82ccbdee3fc2978fd.tar.xz
musl-c2afb747b0296f23cd1903e82ccbdee3fc2978fd.zip
yet another ugly legacy syscall rename...
Diffstat (limited to 'arch')
-rw-r--r--arch/i386/syscall.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/i386/syscall.h b/arch/i386/syscall.h
index 8df9b1b9..c87401f3 100644
--- a/arch/i386/syscall.h
+++ b/arch/i386/syscall.h
@@ -500,9 +500,14 @@ static inline long syscall6(long n, long a1, long a2, long a3, long a4, long a5,
#define __NR_fstatat __NR_fstatat64
#define __NR_pread __NR_pread64
#define __NR_pwrite __NR_pwrite64
+
#undef __NR_getrlimit
#define __NR_getrlimit __NR_ugetrlimit
+#undef __NR_select
+#define __NR_select __NR__newselect
+
+
#define __SC_socket 1
#define __SC_bind 2
#define __SC_connect 3