From: Waqas Hussain Date: Mon, 13 May 2013 19:52:01 +0000 (-0400) Subject: util.hashes: inttypes.h not available with MS Windows SDK, use MS specific __int32... X-Git-Url: https://git.enpas.org/?a=commitdiff_plain;h=d8f5bae7e9b4deaf6abacb2b9e4958c2e919f518;p=prosody.git util.hashes: inttypes.h not available with MS Windows SDK, use MS specific __int32 instead. --- diff --git a/util-src/hashes.c b/util-src/hashes.c index 8f7d7140..39737ae0 100644 --- a/util-src/hashes.c +++ b/util-src/hashes.c @@ -15,7 +15,12 @@ #include #include + +#ifdef _MSC_VER +typedef unsigned __int32 uint32_t; +#else #include +#endif #include "lua.h" #include "lauxlib.h"