From 2647c123bd2f34f4147f06bed6f936cc122636e3 Mon Sep 17 00:00:00 2001 From: Ryan Schmidt Date: Wed, 18 May 2022 05:53:08 -0500 Subject: [PATCH] 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); ^ --- src/tk/tkrawtcp.c | 1 + 1 file changed, 1 insertion(+) 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)); -- 2.39.5