diff --git a/examples/bluetooth/blufi/main/blufi_security.c b/examples/bluetooth/blufi/main/blufi_security.c index 5d4334829a..bfec66c845 100644 --- a/examples/bluetooth/blufi/main/blufi_security.c +++ b/examples/bluetooth/blufi/main/blufi_security.c @@ -15,6 +15,7 @@ #include "esp_event.h" #include "esp_log.h" #include "nvs_flash.h" +#include "esp_random.h" #include "esp_bt.h" #include "esp_blufi_api.h" diff --git a/examples/wifi/espnow/main/espnow_example_main.c b/examples/wifi/espnow/main/espnow_example_main.c index 6b5c42b0e5..33215ea182 100644 --- a/examples/wifi/espnow/main/espnow_example_main.c +++ b/examples/wifi/espnow/main/espnow_example_main.c @@ -20,6 +20,7 @@ #include "freertos/semphr.h" #include "freertos/timers.h" #include "nvs_flash.h" +#include "esp_random.h" #include "esp_event.h" #include "esp_netif.h" #include "esp_wifi.h" diff --git a/tools/test_apps/protocols/mdns/main/mdns_test.c b/tools/test_apps/protocols/mdns/main/mdns_test.c index b47e67cc15..d82229f1dd 100644 --- a/tools/test_apps/protocols/mdns/main/mdns_test.c +++ b/tools/test_apps/protocols/mdns/main/mdns_test.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: Apache-2.0 */ #include +#include "freertos/FreeRTOS.h" +#include "freertos/task.h" #include "mdns.h" #include "esp_log.h" #include "esp_netif.h"