diff --git a/examples/get-started/hello_world/main/hello_world_main.c b/examples/get-started/hello_world/main/hello_world_main.c index e7b27a8dbf..7010f3ef61 100644 --- a/examples/get-started/hello_world/main/hello_world_main.c +++ b/examples/get-started/hello_world/main/hello_world_main.c @@ -11,6 +11,7 @@ #include "freertos/task.h" #include "esp_chip_info.h" #include "esp_flash.h" +#include "esp_system.h" void app_main(void) { diff --git a/tools/test_apps/system/gdb/main/hello_world_main.c b/tools/test_apps/system/gdb/main/hello_world_main.c index d924e14435..b4986f89c1 100644 --- a/tools/test_apps/system/gdb/main/hello_world_main.c +++ b/tools/test_apps/system/gdb/main/hello_world_main.c @@ -10,6 +10,7 @@ #include "freertos/task.h" #include "esp_chip_info.h" #include "esp_flash.h" +#include "esp_system.h" void app_main(void) {