Added typedef for uint and specified -std=c99.