X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fhash.c;fp=src%2Fhash.c;h=46bd23570a18397fe4fb852d409df3273fa8b570;hp=64451712bb9cefd88c09e3c79a7834b5e45bd6ea;hb=b89b58e00a13e8f1fe44eef09d52f51427aa6ecc;hpb=31cc8166dcec35c054f665bb73407511d351f4ec diff --git a/src/hash.c b/src/hash.c index 64451712..46bd2357 100644 --- a/src/hash.c +++ b/src/hash.c @@ -54,6 +54,11 @@ so, delete this exception statement from your version. */ # define countof(x) (sizeof (x) / sizeof ((x)[0])) # endif # define TOLOWER(x) ('A' <= (x) && (x) <= 'Z' ? (x) - 32 : (x)) +# if __STDC_VERSION__ >= 199901L +# include /* for uintptr_t */ +# else + typedef unsigned long uintptr_t; +# endif #endif #include "hash.h"