mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
include <sys/socket.h> to compile the fd_set stuff properly on all systems
This commit is contained in:
parent
498f3985b3
commit
69ab4cd391
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user