I get "unknown type name 'uint8_t'" and others like it using C in MinGW.
How can I solve this?
To use the uint8_t type alias, you have to include the stdint.h standard header.
uint8_t
stdint.h