aboutsummaryrefslogtreecommitdiff
path: root/make.h
diff options
context:
space:
mode:
Diffstat (limited to 'make.h')
-rw-r--r--make.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/make.h b/make.h
index 49c2522..adaccf3 100644
--- a/make.h
+++ b/make.h
@@ -20,6 +20,12 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#pragma alloca
#endif
+#ifdef CRAY
+/* This must happen before #include <signal.h> so
+ that the declaration therein is changed. */
+#define signal bsdsignal
+#endif
+
#define _GNU_SOURCE
#include <sys/types.h>
#include <sys/stat.h>
@@ -56,10 +62,6 @@ extern int errno;
#define RETSIGTYPE void
#endif
-#ifdef CRAY
-#define signal bsdsignal
-#endif
-
#ifndef sigmask
#define sigmask(sig) (1 << ((sig) - 1))
#endif