projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
Small cleanup in string.h and converted result_st macro to inline.
[m6w6/libmemcached]
/
libhashkit
/
ketama.c
diff --git
a/libhashkit/ketama.c
b/libhashkit/ketama.c
index e56594cf7bff5411be46b0f07dab2ad866705645..83b47552a1a8853f88f4863e20a49630ae49e808 100644
(file)
--- a/
libhashkit/ketama.c
+++ b/
libhashkit/ketama.c
@@
-7,6
+7,7
@@
*/
#include "common.h"
+#include <math.h>
static uint32_t ketama_server_hash(const char *key, unsigned int key_length, int alignment)
{