Commit 69ab4cd3 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

include <sys/socket.h> to compile the fd_set stuff properly on all systems

parent 498f3985
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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"
+3 −0
Original line number Diff line number Diff line
@@ -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"