p9y
[m6w6/libmemcached] / src / libmemcached / hash.cc
index cb1ca4641e1a85b93cd23ddfe39b31d8ecae8b34..3e147f8797e07106645e95134d0a0d0a302a467c 100644 (file)
 */
 
 #include "libmemcached/common.h"
-
-#if HAVE_SYS_TIME_H
-#  include <sys/time.h>
-#endif
-#include <time.h>
-
 #include "libmemcached/virtual_bucket.h"
+#include "p9y/gettimeofday.hpp"
+#include "p9y/random.hpp"
 
 uint32_t memcached_generate_hash_value(const char *key, size_t key_length,
                                        memcached_hash_t hash_algorithm) {