From d0e1ede27a0c7ce4f381c108068887fe7c93d37f Mon Sep 17 00:00:00 2001 From: Ryan Schmidt Date: Wed, 18 May 2022 05:53:08 -0500 Subject: [PATCH] src/tclx/ucbsrc/tclbasic.sed: Micropolis build fixes for recent macOS Fix: tclbasic.c:711:18: error: implicit declaration of function 'Tcl_CheckForSignal' is invalid in C99 [-Werror,-Wimplicit-function-declaration] result = Tcl_CheckForSignal (interp, result); ^ --- src/tclx/ucbsrc/tclbasic.sed | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tclx/ucbsrc/tclbasic.sed b/src/tclx/ucbsrc/tclbasic.sed index c22bb1c..9597619 100644 --- a/src/tclx/ucbsrc/tclbasic.sed +++ b/src/tclx/ucbsrc/tclbasic.sed @@ -1,3 +1,6 @@ +/#include "tclint.h"/a\ +\#include "tclxtend.h" + /(\*cmdPtr->proc)/a\ \ /*\ \ * Signal handling added for Extended Tcl.\ -- 2.39.5