projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
p9y
[awesomized/libmemcached]
/
src
/
libmemcached
/
hosts.cc
diff --git
a/src/libmemcached/hosts.cc
b/src/libmemcached/hosts.cc
index 39247287666d55fed37f5b5f72242057fa5f462d..8f1215020214ea9f372952406f19157bce3d2ebf 100644
(file)
--- a/
src/libmemcached/hosts.cc
+++ b/
src/libmemcached/hosts.cc
@@
-15,12
+15,10
@@
#include "libmemcached/common.h"
#include "libmemcached/assert.hpp"
#include "libmemcached/common.h"
#include "libmemcached/assert.hpp"
+#include "p9y/gettimeofday.hpp"
+#include "p9y/random.hpp"
#include <cmath>
#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);
/* Protoypes (static) */
static memcached_return_t update_continuum(Memcached *ptr);