diff --git a/components/mdns/mdns.c b/components/mdns/mdns.c index 66b62fba8..20c9a4505 100644 --- a/components/mdns/mdns.c +++ b/components/mdns/mdns.c @@ -8,6 +8,10 @@ #include "mdns_private.h" #include "mdns_networking.h" #include "esp_log.h" +#include "freertos/FreeRTOS.h" +#include "freertos/task.h" +#include "freertos/queue.h" +#include "freertos/semphr.h" #include #include diff --git a/components/mdns/private_include/mdns_private.h b/components/mdns/private_include/mdns_private.h index 92a0efaa6..44535747f 100644 --- a/components/mdns/private_include/mdns_private.h +++ b/components/mdns/private_include/mdns_private.h @@ -9,6 +9,10 @@ #include "sdkconfig.h" #include "mdns.h" #include "esp_task.h" +#include "freertos/FreeRTOS.h" +#include "freertos/task.h" +#include "freertos/queue.h" +#include "freertos/semphr.h" #include "esp_timer.h" //#define MDNS_ENABLE_DEBUG