C lacks a boolean type
This is false, as of C99 we have booleans in C, just include stdbool.h in your code, e.g.:
#include <stdbool.h>
...
bool test = true;
...