projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
890bf3b
)
sys/socket.h without #ifdef
author
Daniel Stenberg
<daniel@haxx.se>
Wed, 31 Jul 2002 23:18:27 +0000
(23:18 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Wed, 31 Jul 2002 23:18:27 +0000
(23:18 +0000)
include sys/time.h as well
include/curl/multi.h
patch
|
blob
|
history
diff --git
a/include/curl/multi.h
b/include/curl/multi.h
index
42fa1dd
..
b1ca28b
100644
(file)
--- 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>