From: Daniel Stenberg <daniel@haxx.se> Date: Fri, 14 Feb 2003 09:03:03 +0000 (+0000) Subject: include <sys/socket.h> to compile the fd_set stuff properly on all systems X-Git-Tag: curl-7_10_4~138 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=69ab4cd391f2d0b4a60916aa707ac8fc5bc478e1;p=curl include <sys/socket.h> to compile the fd_set stuff properly on all systems --- diff --git a/lib/multi.c b/lib/multi.c index 7ac984f7f..0dd699432 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -24,6 +24,11 @@ #include "setup.h" #include <stdlib.h> #include <string.h> + +#ifdef HAVE_SYS_SOCKET_H +#include <sys/socket.h> +#endif + #include <curl/curl.h> #include "urldata.h" diff --git a/lib/ssluse.c b/lib/ssluse.c index cb68ce593..0983db379 100644 --- a/lib/ssluse.c +++ b/lib/ssluse.c @@ -30,6 +30,9 @@ #include <string.h> #include <stdlib.h> +#ifdef HAVE_SYS_SOCKET_H +#include <sys/socket.h> +#endif #include "urldata.h" #include "sendf.h"