From c941e29cf62859cbea47270f8c150f6b82b222b4 Mon Sep 17 00:00:00 2001 From: David Cermak Date: Thu, 10 Mar 2022 10:36:38 +0100 Subject: [PATCH] examples: Fix implicit includes after legacy code removal --- examples/bluetooth/blufi/main/blufi_security.c | 1 + examples/wifi/espnow/main/espnow_example_main.c | 1 + tools/test_apps/protocols/mdns/main/mdns_test.c | 2 ++ 3 files changed, 4 insertions(+) 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"