Forgot to include stdint.h in database.c. On my main test computer it would still compile.