summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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,