From 5199c54e38e9b28c84e3c8a05f05a170d86e20b6 Mon Sep 17 00:00:00 2001
From: Jack Jansen <jack.jansen@cwi.nl>
Date: Mon, 24 Jul 2000 19:42:53 +0000
Subject: [PATCH] Put in an earlier include of sys/signal.h (within ifdef
 USE_GUSI) to forestal a multiple define.

---
 Mac/tclmods/tclMacNotify.c    | 4 ++++
 Mac/tclmods/tclSelectNotify.c | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/Mac/tclmods/tclMacNotify.c b/Mac/tclmods/tclMacNotify.c
index 140dadb8bb..8fc313aee2 100644
--- a/Mac/tclmods/tclMacNotify.c
+++ b/Mac/tclmods/tclMacNotify.c
@@ -13,6 +13,10 @@
  * SCCS: @(#) tclMacNotify.c 1.36 97/05/07 19:09:29
  */
 
+#ifdef USE_GUSI
+/* Move this include up otherwise tclPort.h tried to redefine signals */
+#include <sys/signal.h>
+#endif
 #include "tclInt.h"
 #include "tclPort.h"
 #include "tclMac.h"
diff --git a/Mac/tclmods/tclSelectNotify.c b/Mac/tclmods/tclSelectNotify.c
index ea35fc6236..a728442fc1 100644
--- a/Mac/tclmods/tclSelectNotify.c
+++ b/Mac/tclmods/tclSelectNotify.c
@@ -23,6 +23,10 @@
 	#pragma import reset
 #endif
 
+#ifdef USE_GUSI
+/* Move this include up otherwise tclPort.h tried to redefine signals */
+#include <sys/signal.h>
+#endif
 #include "tclInt.h"
 #include "tclPort.h"
 #include <signal.h> 
-- 
2.40.0