diff --git a/doc/Changelog b/doc/Changelog index 7b821d7d7..f1097aefd 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -5,6 +5,7 @@ Detects unsigned or signed using math trick. - constants for DNS flags. - compilation without locks fixup. + - removed include of unportable header from lookup3.c. 2 April 2007: Wouter - check sizes of udp received messages, not too short. diff --git a/util/storage/lookup3.c b/util/storage/lookup3.c index 569ec8ae1..2a25690cf 100644 --- a/util/storage/lookup3.c +++ b/util/storage/lookup3.c @@ -2,6 +2,7 @@ March 2007(Wouter) adapted from lookup3.c original, add config.h include. added #ifdef VALGRIND to remove 298,384,660 'unused variable k8' warnings. added include of lookup3.h to check definitions match declarations. + removed include of stdint - config.h takes care of platform independence. url http://burtleburtle.net/bob/hash/index.html. */ /* @@ -45,7 +46,7 @@ on 1 byte), but shoehorning those bytes into integers efficiently is messy. #include "util/storage/lookup3.h" #include /* defines printf for tests */ #include /* defines time_t for timings in the test */ -#include /* defines uint32_t etc */ +/*#include defines uint32_t etc (from config.h) */ #include /* attempt to define endianness */ #ifdef linux # include /* attempt to define endianness */