sys/socket.h without #ifdef
authorDaniel Stenberg <daniel@haxx.se>
Wed, 31 Jul 2002 23:18:27 +0000 (23:18 +0000)
committerDaniel 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

index 42fa1dd..b1ca28b 100644 (file)
   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>