From cda421287e43aea83d5c378b5d9e04300d1d819e Mon Sep 17 00:00:00 2001 From: James Muehlner Date: Fri, 7 Jun 2024 23:06:06 +0000 Subject: [PATCH] GUACAMOLE-1841: Header fix for socket-tcp.c. --- src/libguac/socket-tcp.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/libguac/socket-tcp.c b/src/libguac/socket-tcp.c index 7e41d0218..52246f00a 100644 --- a/src/libguac/socket-tcp.c +++ b/src/libguac/socket-tcp.c @@ -22,9 +22,15 @@ #include "guacamole/socket.h" #include + +#ifdef WINDOWS_BUILD +#include +#include +#else #include #include #include +#endif int guac_socket_tcp_connect(const char* hostname, const char* port) { @@ -99,4 +105,4 @@ int guac_socket_tcp_connect(const char* hostname, const char* port) { /* Return the fd, or the error message if the socket connection failed. */ return fd; -} \ No newline at end of file +}