summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--signal/signal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/signal/signal.h b/signal/signal.h
index 9d6c54bc44..9b5ce171fc 100644
--- a/signal/signal.h
+++ b/signal/signal.h
@@ -111,6 +111,11 @@ extern int sigpause __P ((int __mask));
typedef __sighandler_t sighandler_t;
#endif
+/* 4.4 BSD uses the name `sig_t' for this. */
+#ifdef __USE_BSD
+typedef __sighandler_t sig_t;
+#endif
+
#endif /* <signal.h> included. */