mirror of
https://github.com/curl/curl.git
synced 2026-07-27 20:53:18 +03:00
sys/socket.h without #ifdef
include sys/time.h as well
This commit is contained in:
parent
890bf3bd27
commit
fcb1d3521a
1 changed files with 4 additions and 3 deletions
|
|
@ -47,11 +47,12 @@
|
|||
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__)
|
||||
#include <winsock.h>
|
||||
#else
|
||||
#include <sys/socket.h>
|
||||
#include <sys/time.h>
|
||||
#endif
|
||||
|
||||
#include <curl/curl.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue