identificador bool no está definido en c

//You can surround your code with
#ifndef __cplusplus
typedef unsigned char bool;
static const bool False = 0;
static const bool True = 1;
#endif
Thoughtless Tapir