--- src/libut/hash.h.orig 2005-11-10 18:19:38.000000000 +1100 +++ src/libut/hash.h 2013-09-24 00:08:33.000000000 +1000 @@ -37,6 +37,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBI * The number of buckets in the hash is dynamically expanded as necessary to * * attempt to keep all buckets from having more than 10 elements. * *******************************************************************************/ +#include #include /* memcmp,strlen */ #include "libut/ut.h" @@ -230,5 +231,7 @@ typedef struct UT_hash_handle { int keylen; /* enclosing struct's key len, used when rebucketing */ } UT_hash_handle; +int UT_hash_rescale(UT_hash_table *); + #endif /* UTHSH_H */