X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libhashkit%2Falgorithm.c;h=de00081da56c648246fdb2a7f99a72ef93b6a514;hb=c772b2baff0fde1eec5e541521ce9c3a1daddedb;hp=e8f859e879cfe8ad67ec5666dffc20d9f5ccbc99;hpb=9ea216e88d31ba62f89234361318a0accbbfe75a;p=awesomized%2Flibmemcached diff --git a/libhashkit/algorithm.c b/libhashkit/algorithm.c index e8f859e8..de00081d 100644 --- a/libhashkit/algorithm.c +++ b/libhashkit/algorithm.c @@ -6,7 +6,7 @@ * the COPYING file in the parent directory for full text. */ -#include "common.h" +#include uint32_t libhashkit_one_at_a_time(const char *key, size_t key_length) { @@ -45,10 +45,12 @@ uint32_t libhashkit_hsieh(const char *key, size_t key_length) } #endif +#ifdef HAVE_MURMUR_HASH uint32_t libhashkit_murmur(const char *key, size_t key_length) { return hashkit_murmur(key, key_length, NULL); } +#endif uint32_t libhashkit_jenkins(const char *key, size_t key_length) {