Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5199c54

Browse files
committed
Put in an earlier include of sys/signal.h (within ifdef USE_GUSI) to forestal a multiple define.
1 parent e1b304d commit 5199c54

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

Mac/tclmods/tclMacNotify.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
* SCCS: @(#) tclMacNotify.c 1.36 97/05/07 19:09:29
1414
*/
1515

16+
#ifdef USE_GUSI
17+
/* Move this include up otherwise tclPort.h tried to redefine signals */
18+
#include <sys/signal.h>
19+
#endif
1620
#include "tclInt.h"
1721
#include "tclPort.h"
1822
#include "tclMac.h"

Mac/tclmods/tclSelectNotify.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@
2323
#pragma import reset
2424
#endif
2525

26+
#ifdef USE_GUSI
27+
/* Move this include up otherwise tclPort.h tried to redefine signals */
28+
#include <sys/signal.h>
29+
#endif
2630
#include "tclInt.h"
2731
#include "tclPort.h"
2832
#include <signal.h>

0 commit comments

Comments
 (0)