summaryrefslogtreecommitdiffstats
path: root/cpukit/posix
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/posix')
-rw-r--r--cpukit/posix/src/signal_2.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpukit/posix/src/signal_2.c b/cpukit/posix/src/signal_2.c
index 8d9c483803..326861752f 100644
--- a/cpukit/posix/src/signal_2.c
+++ b/cpukit/posix/src/signal_2.c
@@ -18,7 +18,9 @@
#include <signal.h>
#include <errno.h>
-typedef void (*sighandler_t)(int);
+#ifndef HAVE_SIGHANDLER_T
+ typedef void (*sighandler_t)(int);
+#endif
sighandler_t signal(
int signum,