summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-10-02 18:41:30 +0000
committerUlrich Drepper <drepper@redhat.com>2006-10-02 18:41:30 +0000
commit97e57dee9a03c625d6d00ba3fef561e534089fbd (patch)
tree4495a9d1b0ef5b236ed1c6b5755f9510bb78f6d1
parent768027a456732285abffbddbce3127a29cdacf3e (diff)
2006-10-02 Jakub Jelinek <jakub@redhat.com> [BZ #3291] * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Include errno.h, signal.h, unistd.h and sysdep-cancel.h. (__sigprocmask): Define.
-rw-r--r--ChangeLog7
-rw-r--r--sysdeps/unix/sysv/linux/sparc/sparc64/pause.c8
2 files changed, 15 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 23c8f8796f..881a1823e3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2006-10-02 Jakub Jelinek <jakub@redhat.com>
+
+ [BZ #3291]
+ * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Include
+ errno.h, signal.h, unistd.h and sysdep-cancel.h.
+ (__sigprocmask): Define.
+
2006-10-02 Ulrich Drepper <drepper@redhat.com>
* elf/rtld.c (dl_main): Don't use prelinking if LD_DYNAMIC_WEAK is
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/pause.c b/sysdeps/unix/sysv/linux/sparc/sparc64/pause.c
index 2ec5bd39ad..e399e7c7eb 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc64/pause.c
+++ b/sysdeps/unix/sysv/linux/sparc/sparc64/pause.c
@@ -1 +1,9 @@
+#include <errno.h>
+#include <signal.h>
+#include <unistd.h>
+#include <sysdep-cancel.h>
+
+#define __sigprocmask(how, set, oset) \
+ INLINE_SYSCALL (rt_sigprocmask, 4, how, set, oset, _NSIG / 8)
+
#include <sysdeps/posix/pause.c>