WIP
[m6w6/libmemcached] / src / libmemcached / hosts.cc
index b478881ce7731ac7faa7413e2ba589768e69e2e7..39247287666d55fed37f5b5f72242057fa5f462d 100644 (file)
 #include "libmemcached/assert.hpp"
 
 #include <cmath>
-#include <sys/time.h>
+#if HAVE_SYS_TIME_H
+#  include <sys/time.h>
+#endif
+#include <time.h>
 
 /* Protoypes (static) */
 static memcached_return_t update_continuum(Memcached *ptr);