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/multi.c | |
parent | 498f3985b3a887dd76a2445076d8c0f5e1175d56 (diff) | |
download | curl-69ab4cd391f2d0b4a60916aa707ac8fc5bc478e1.tar.gz |
include <sys/socket.h> to compile the fd_set stuff properly on all systems
Diffstat (limited to 'lib/multi.c')
-rw-r--r-- | lib/multi.c | 5 |
1 files changed, 5 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" |