1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

sys/socket.h without #ifdef

include sys/time.h as well
This commit is contained in:
Daniel Stenberg 2002-07-31 23:18:27 +00:00
parent 890bf3bd27
commit fcb1d3521a

View File

@ -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>