#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
{
int r;
CANCELPT_BEGIN;
- r = syscall5(__NR__newselect, n, (long)rfds, (long)wfds, (long)efds, (long)tv);
+ r = syscall5(__NR_select, n, (long)rfds, (long)wfds, (long)efds, (long)tv);
CANCELPT_END;
return r;
}