1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

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

This commit is contained in:
Daniel Stenberg 2003-02-14 09:03:03 +00:00
parent 498f3985b3
commit 69ab4cd391
2 changed files with 8 additions and 0 deletions

View File

@ -24,6 +24,11 @@
#include "setup.h" #include "setup.h"
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
#include <curl/curl.h> #include <curl/curl.h>
#include "urldata.h" #include "urldata.h"

View File

@ -30,6 +30,9 @@
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
#include "urldata.h" #include "urldata.h"
#include "sendf.h" #include "sendf.h"