summaryrefslogtreecommitdiff
path: root/lib/multi.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-02-14 09:03:03 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-02-14 09:03:03 +0000
commit69ab4cd391f2d0b4a60916aa707ac8fc5bc478e1 (patch)
tree78da68f6bbd2335d34c30cb15c74518ca502c96b /lib/multi.c
parent498f3985b3a887dd76a2445076d8c0f5e1175d56 (diff)
downloadcurl-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.c5
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"