summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-06-21 21:32:00 +0000
committerEric Andersen <andersen@codepoet.org>2002-06-21 21:32:00 +0000
commit28a540720b6db3302cb6a2af3173cb070e2fdcbb (patch)
tree340a2b70a70edee510ddce9b48f346e0ab983304 /libc/sysdeps
parentcc19adf7bb1865d73350a9723b49b465dea78b27 (diff)
Fix support for 2.0.x linux kernels. Oops.
-Erik
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/common/syscalls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/syscalls.c b/libc/sysdeps/linux/common/syscalls.c
index db17d045d..487df4adb 100644
--- a/libc/sysdeps/linux/common/syscalls.c
+++ b/libc/sysdeps/linux/common/syscalls.c
@@ -1517,11 +1517,11 @@ int sigpending(sigset_t *set)
//#define __NR_rt_sigtimedwait 177
#ifdef L___rt_sigtimedwait
-#ifdef __NR_rt_sigtimedwait
-#define __NR___rt_sigtimedwait __NR_rt_sigtimedwait
#include <signal.h>
#define __need_NULL
#include <stddef.h>
+#ifdef __NR_rt_sigtimedwait
+#define __NR___rt_sigtimedwait __NR_rt_sigtimedwait
_syscall4(int, __rt_sigtimedwait, const sigset_t *, set, siginfo_t *, info,
const struct timespec *, timeout, size_t, setsize);