diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-02-14 09:03:03 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-02-14 09:03:03 +0000 |
commit | 69ab4cd391f2d0b4a60916aa707ac8fc5bc478e1 (patch) | |
tree | 78da68f6bbd2335d34c30cb15c74518ca502c96b /lib | |
parent | 498f3985b3a887dd76a2445076d8c0f5e1175d56 (diff) |
include <sys/socket.h> to compile the fd_set stuff properly on all systems
Diffstat (limited to 'lib')
-rw-r--r-- | lib/multi.c | 5 | ||||
-rw-r--r-- | lib/ssluse.c | 3 |
2 files changed, 8 insertions, 0 deletions
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" |