projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
WIP
[m6w6/libmemcached]
/
src
/
libmemcached
/
hosts.cc
diff --git
a/src/libmemcached/hosts.cc
b/src/libmemcached/hosts.cc
index b478881ce7731ac7faa7413e2ba589768e69e2e7..39247287666d55fed37f5b5f72242057fa5f462d 100644
(file)
--- a/
src/libmemcached/hosts.cc
+++ b/
src/libmemcached/hosts.cc
@@
-17,7
+17,10
@@
#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);