A number of small build fixes found while looking at mingw support.
[awesomized/libmemcached] / libmemcached / connect.cc
index 65be51a07f9a2c509f7dba7bc6c11043e358bc1a..4e7e24bf48c47e9f1d5c4fcdadbf9611c7810742 100644 (file)
 #include <libmemcached/common.h>
 
 #include <cassert>
-#include <ctime>
-#include <sys/time.h>
 
 #ifndef SOCK_CLOEXEC 
 #  define SOCK_CLOEXEC 0
 #endif
 
 #ifndef SOCK_NONBLOCK 
-#  define SOCK_NONBLOCK 0
+# define SOCK_NONBLOCK 0
 #endif
 
 #ifndef FD_CLOEXEC