diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2000-07-24 19:42:53 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2000-07-24 19:42:53 (GMT) |
commit | 5199c54e38e9b28c84e3c8a05f05a170d86e20b6 (patch) | |
tree | d89c91c6f03237e7334af94be19675fdb6ec1be0 /Mac/tclmods | |
parent | e1b304db37064decce694e672953ead98e6b4902 (diff) | |
download | cpython-5199c54e38e9b28c84e3c8a05f05a170d86e20b6.zip cpython-5199c54e38e9b28c84e3c8a05f05a170d86e20b6.tar.gz cpython-5199c54e38e9b28c84e3c8a05f05a170d86e20b6.tar.bz2 |
Put in an earlier include of sys/signal.h (within ifdef USE_GUSI) to forestal a multiple define.
Diffstat (limited to 'Mac/tclmods')
-rw-r--r-- | Mac/tclmods/tclMacNotify.c | 4 | ||||
-rw-r--r-- | Mac/tclmods/tclSelectNotify.c | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/Mac/tclmods/tclMacNotify.c b/Mac/tclmods/tclMacNotify.c index 140dadb..8fc313a 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 ea35fc6..a728442 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> |