]> git.zerfleddert.de Git - micropolis/commitdiff
src/tk/tkrawtcp.c: Micropolis build fixes for recent macOS
authorRyan Schmidt <ryandesign@macports.org>
Wed, 18 May 2022 10:53:08 +0000 (05:53 -0500)
committerMichael Gernoth <michael@gernoth.net>
Sat, 4 Jun 2022 09:21:07 +0000 (11:21 +0200)
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

index f556e5f7df81b82fff62c573c8bd2e409ec75350..6caea9935b52f105f17fedfb70aca930a5893e8f 100644 (file)
@@ -43,6 +43,7 @@ static char rcsid[] = "...";
 #include <sys/un.h>
 
 #include <tk.h>
+#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));
Impressum, Datenschutz