X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libhashkit%2Fcommon.h;h=7affeb366a3f75ef138738f1ac82dbc36553cb63;hb=0ce6b69e0f8e25e50bd878678b1444651093bac4;hp=e840e46d80f34a83e1a938dcfdd707d22d1dd1f0;hpb=46394c394ae0348ddb321673d4e8fcdff15a7a02;p=m6w6%2Flibmemcached diff --git a/libhashkit/common.h b/libhashkit/common.h index e840e46d..7affeb36 100644 --- a/libhashkit/common.h +++ b/libhashkit/common.h @@ -37,7 +37,7 @@ #pragma once -#include +#include #include #include @@ -45,17 +45,23 @@ #include #include +#ifndef __WORDSIZE +# ifdef __MINGW32__ +# define __WORDSIZE 32 +# endif +#endif + #include #include +#include +#include #ifdef __cplusplus extern "C" { #endif -HASHKIT_LOCAL void md5_signature(const unsigned char *key, unsigned int length, unsigned char *result); -HASHKIT_LOCAL int update_continuum(hashkit_st *hashkit); #ifdef __cplusplus