diff --git a/src/raylib.h b/src/raylib.h index 6ee78226..1be3f9a6 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -178,8 +178,10 @@ // Types and Structures Definition //---------------------------------------------------------------------------------- +#ifndef __cplusplus // Boolean type typedef enum { false, true } bool; +#endif // byte type typedef unsigned char byte; diff --git a/src/utils.c b/src/utils.c index 8e42e533..d3d57106 100644 --- a/src/utils.c +++ b/src/utils.c @@ -27,6 +27,7 @@ * **********************************************************************************************/ +#include "raylib.h" #include "utils.h" #if defined(PLATFORM_ANDROID)