mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
sys/socket.h without #ifdef
include sys/time.h as well
This commit is contained in:
parent
890bf3bd27
commit
fcb1d3521a
@ -47,11 +47,12 @@
|
|||||||
Example sources using this interface is here: ../multi/
|
Example sources using this interface is here: ../multi/
|
||||||
|
|
||||||
*/
|
*/
|
||||||
#ifdef HAVE_SYS_SOCKET_H
|
|
||||||
#include <sys/socket.h>
|
|
||||||
#endif
|
|
||||||
#if defined(WIN32) && !defined(__GNUC__) || defined(__MINGW32__)
|
#if defined(WIN32) && !defined(__GNUC__) || defined(__MINGW32__)
|
||||||
#include <winsock.h>
|
#include <winsock.h>
|
||||||
|
#else
|
||||||
|
#include <sys/socket.h>
|
||||||
|
#include <sys/time.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user