Can't compile, keep getting error in mongoose libs

I keep getting this warning when trying to build. Before I strip out everything and start from scratch, maybe someone can shed some light on why this error is appearing here?

                 from /Users/user1/dev/arduino/app1/src/main.c:4:
/Users/user1/dev/arduino/app1/deps/aws/include/mgos_aws_shadow.h:37:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_Bool'
 bool mgos_aws_is_connected(void);
 ^
make: *** [/Users/user1/dev/arduino/app1/build/objs/main.c.o] Error 1

Here is what libraries I’m importing:

#include <stdio.h>

#include "mgos.h"
#include "common/platform.h"
#include "app1.h"
#include "mgos_app.h"
#include "mgos_gpio.h"
#include "mgos_sys_config.h"
#include "mgos_wifi.h"
#include "mgos_aws_shadow.h"

Thanks!

Can you show us the code that generates the error?