diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-07-31 23:18:27 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-07-31 23:18:27 +0000 |
commit | fcb1d3521adf69ad9a8a5b98dc1a77d14e3b6b49 (patch) | |
tree | 673196d63225251fee1d131c259b5a47c706caf4 /include | |
parent | 890bf3bd276287f80fac172f1e08fd85ae2b59e0 (diff) |
sys/socket.h without #ifdef
include sys/time.h as well
Diffstat (limited to 'include')
-rw-r--r-- | include/curl/multi.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/curl/multi.h b/include/curl/multi.h index 42fa1dd4c..b1ca28b21 100644 --- a/include/curl/multi.h +++ b/include/curl/multi.h @@ -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> |