From: Ryan Schmidt Date: Wed, 18 May 2022 10:53:08 +0000 (-0500) Subject: src/tk/tkrawtcp.c: Micropolis build fixes for recent macOS X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/micropolis/commitdiff_plain/2647c123bd2f34f4147f06bed6f936cc122636e3 src/tk/tkrawtcp.c: Micropolis build fixes for recent macOS Fix: tkrawtcp.c:658:3: error: implicit declaration of function 'TkBindError' is invalid in C99 [-Werror,-Wimplicit-function-declaration] TkBindError(interp); ^ tkrawtcp.c:665:3: error: implicit declaration of function 'TkBindError' is invalid in C99 [-Werror,-Wimplicit-function-declaration] TkBindError(interp); ^ tkrawtcp.c:672:3: error: implicit declaration of function 'TkBindError' is invalid in C99 [-Werror,-Wimplicit-function-declaration] TkBindError(interp); ^ tkrawtcp.c:680:3: error: implicit declaration of function 'TkBindError' is invalid in C99 [-Werror,-Wimplicit-function-declaration] TkBindError(interp); ^ --- diff --git a/src/tk/tkrawtcp.c b/src/tk/tkrawtcp.c index f556e5f..6caea99 100644 --- a/src/tk/tkrawtcp.c +++ b/src/tk/tkrawtcp.c @@ -43,6 +43,7 @@ static char rcsid[] = "..."; #include #include +#include "tkint.h" static int inet_connect _ANSI_ARGS_((char *host, char *port,int server)); static int unix_connect _ANSI_ARGS_((char *path, int server));