summaryrefslogtreecommitdiffstats
path: root/generic/tclInt.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-05-02 12:48:20 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-05-02 12:48:20 (GMT)
commitc055990ae5772bbc8b4bb2e09dd722be98b89091 (patch)
treec858978db1932f49e0348dd54ffbd8f59d621257 /generic/tclInt.h
parent05ceca327ff2231c1b14d5457e836f3f3c7cc87b (diff)
parent181a1c1601561c47a31b819ec400ea1fbb69cb91 (diff)
downloadtcl-c055990ae5772bbc8b4bb2e09dd722be98b89091.zip
tcl-c055990ae5772bbc8b4bb2e09dd722be98b89091.tar.gz
tcl-c055990ae5772bbc8b4bb2e09dd722be98b89091.tar.bz2
Make sure to forward-declare "struct addrinfo". Some compilers don't like doing that in a parameter-list
Diffstat (limited to 'generic/tclInt.h')
-rw-r--r--generic/tclInt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h
index 7d2e848..c714cb8 100644
--- a/generic/tclInt.h
+++ b/generic/tclInt.h
@@ -3475,6 +3475,7 @@ MODULE_SCOPE void TclInitSockets(void);
#else
#define TclInitSockets() /* do nothing */
#endif
+struct addrinfo; /* forward declaration, needed for TclCreateSocketAddress */
MODULE_SCOPE int TclCreateSocketAddress(Tcl_Interp *interp,
struct addrinfo **addrlist,
const char *host, int port, int willBind,