summaryrefslogtreecommitdiff
path: root/libc/signal/sigaction.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-29 15:51:14 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-29 15:51:14 +0000
commitb7f5cf144f495b7779655db7ad70d1f9b6e0d52c (patch)
tree6c6111decbd9114b81bda1be024189f0e1a41eb7 /libc/signal/sigaction.c
parent064d44317dbaf89fa121c3cadebe86f17e5dab2a (diff)
create local prototype for __libc_sigaction
Diffstat (limited to 'libc/signal/sigaction.c')
-rw-r--r--libc/signal/sigaction.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libc/signal/sigaction.c b/libc/signal/sigaction.c
index 14c5418d4..d3a92a13a 100644
--- a/libc/signal/sigaction.c
+++ b/libc/signal/sigaction.c
@@ -16,6 +16,7 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
+#include <features.h>
#include <errno.h>
#include <signal.h>
#include <string.h>
@@ -29,6 +30,10 @@ libc_hidden_proto(memcpy)
translate it here. */
#include <bits/kernel_sigaction.h>
+#ifndef LIBC_SIGACTION
+extern __typeof(sigaction) __libc_sigaction;
+#endif
+
#if defined __NR_rt_sigaction
/* If ACT is not NULL, change the action for SIG to *ACT.