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