If you get the following error when trying to compile webalizer:
hashtab.c: In function 'put_hnode':
hashtab.c:160: error: 'uint32_t' undeclared (first use in this function)
hashtab.c:160: error: (Each undeclared identifier is reported only once
hashtab.c:160: error: for each function it appears in.)
hashtab.c:160: error: expected ';' before 'hval'
hashtab.c:163: error: 'hval' undeclared (first use in this function)
hashtab.c:163: warning: implicit declaration of function 'hash'
hashtab.c: In function 'put_unode':
hashtab.c:362: error: 'uint32_t' undeclared (first use in this function)
hashtab.c:362: error: expected ';' before 'hval'
hashtab.c:366: error: 'hval' undeclared (first use in this function)
hashtab.c: In function 'put_rnode':
hashtab.c:491: error: 'uint32_t' undeclared (first use in this function)
hashtab.c:491: error: expected ';' before 'hval'
hashtab.c:495: error: 'hval' undeclared (first use in this function)
hashtab.c: In function 'put_anode':
hashtab.c:617: error: 'uint32_t' undeclared (first use in this function)
hashtab.c:617: error: expected ';' before 'hval'
hashtab.c:621: error: 'hval' undeclared (first use in this function)
hashtab.c: In function 'put_snode':
hashtab.c:734: error: 'uint32_t' undeclared (first use in this function)
hashtab.c:734: error: expected ';' before 'hval'
hashtab.c:738: error: 'hval' undeclared (first use in this function)
hashtab.c: In function 'put_inode':
hashtab.c:850: error: 'uint32_t' undeclared (first use in this function)
hashtab.c:850: error: expected ';' before 'hval'
hashtab.c:854: error: 'hval' undeclared (first use in this function)
hashtab.c: At top level:
hashtab.c:1231: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'hash'
make: *** [hashtab.o] Error 1
yum install db4-devel