From 297ab81630df7c7adf263da60227fdb4aa7feaed Mon Sep 17 00:00:00 2001 From: Brian Aker Date: Wed, 21 Nov 2012 23:24:27 -0500 Subject: [PATCH] Fix distcheck issues. --- libhashkit/algorithm.cc | 2 +- libhashkit/algorithm.h | 1 - libhashkit/include.am | 1 + tests/hash_plus.cc | 5 +++++ 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/libhashkit/algorithm.cc b/libhashkit/algorithm.cc index d6f2daf1..3eb28d62 100644 --- a/libhashkit/algorithm.cc +++ b/libhashkit/algorithm.cc @@ -34,7 +34,7 @@ * */ -#include +#include "libhashkit/common.h" uint32_t libhashkit_one_at_a_time(const char *key, size_t key_length) { diff --git a/libhashkit/algorithm.h b/libhashkit/algorithm.h index 46dc471b..e748a996 100644 --- a/libhashkit/algorithm.h +++ b/libhashkit/algorithm.h @@ -47,7 +47,6 @@ extern "C" { #endif - uint32_t hashkit_one_at_a_time(const char *key, size_t key_length, void *context); uint32_t hashkit_fnv1_64(const char *key, size_t key_length, void *context); diff --git a/libhashkit/include.am b/libhashkit/include.am index 0b63d26f..3124a4e0 100644 --- a/libhashkit/include.am +++ b/libhashkit/include.am @@ -12,6 +12,7 @@ lib_LTLIBRARIES+= libhashkit/libhashkit.la noinst_HEADERS+= libhashkit/aes.h +noinst_HEADERS+= libhashkit/algorithm.h noinst_HEADERS+= libhashkit/murmur3.h noinst_HEADERS+= libhashkit/common.h noinst_HEADERS+= libhashkit/is.h diff --git a/tests/hash_plus.cc b/tests/hash_plus.cc index 078bdd17..8675adef 100644 --- a/tests/hash_plus.cc +++ b/tests/hash_plus.cc @@ -131,6 +131,11 @@ static test_return_t set_function_test(void *) break; case HASHKIT_HASH_MURMUR3: +#ifdef WORDS_BIGENDIAN + continue; +#endif + list= murmur3_values; + break; case HASHKIT_HASH_MURMUR: #ifdef WORDS_BIGENDIAN continue; -- 2.30.2