aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2008-04-04 22:01:31 +0000
committerdos-reis <gdr@axiomatics.org>2008-04-04 22:01:31 +0000
commitbc6f7792f8c5ef6dc6d87ca851c1e182c6a0e418 (patch)
tree602066fe46c83df1fa7011890ab00ffb7d3beb5a /src/include
parent92ea008a72331e4095621277305553417b617292 (diff)
downloadopen-axiom-bc6f7792f8c5ef6dc6d87ca851c1e182c6a0e418.tar.gz
* include/bsdsignal.h: Include <signal.h>.
(OPENAXIOM_SIGCHLD): New macro. * hyper/hyper.c (main): Use OPENAXIOM_SIGCHLD. * graph/viewman/viewman.c: Don't include <signal.h> directly. (main): Use OPENAXIOM_SIGCHLD. * graph/viewman/sselect.c: Don't include <signal.h> directly. (superSelect): Tidy. Use OPENAXIOM_SIGCHLD.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/bsdsignal.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/include/bsdsignal.h b/src/include/bsdsignal.h
index 5b724bbf..1a55293c 100644
--- a/src/include/bsdsignal.h
+++ b/src/include/bsdsignal.h
@@ -38,6 +38,14 @@
#include "open-axiom.h"
+#include <signal.h>
+
+#ifdef SIGCHLD
+# define OPENAXIOM_SIGCHLD SIGCHLD
+#elif defined (SIGCLD)
+# define OPENAXIOM_SIGCHLD SIGCLD
+#endif
+
#define RestartSystemCalls 1
#define DontRestartSystemCalls 0