X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fwrbuf_sha1.c;fp=src%2Fwrbuf_sha1.c;h=16be5bdca540cae8421ea0642ea7fdeab94ff4f3;hp=733d8a2da21c07dcc937c6a2a2abfa83c3b1d6f8;hb=ebfa76b327665398553785b6a00e69d119ba9297;hpb=b1a5a6402e767afee10073381d842642d3a640d0 diff --git a/src/wrbuf_sha1.c b/src/wrbuf_sha1.c index 733d8a2..16be5bd 100644 --- a/src/wrbuf_sha1.c +++ b/src/wrbuf_sha1.c @@ -28,7 +28,12 @@ By Steve Reid #define SHA1HANDSOFF +/* VS 2010 and later have stdint.h */ +#if defined(_MSC_VER) && _MSC_VER < 1600 +typedef unsigned int uint32_t; +#else #include +#endif typedef struct { uint32_t state[5];