diff --git a/tasmota/tasmota_xdrv_driver/xdrv_84_esp32_hosted.ino b/tasmota/tasmota_xdrv_driver/xdrv_84_esp32_hosted.ino index 2ac64e0f9..a53de1a03 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_84_esp32_hosted.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_84_esp32_hosted.ino @@ -15,11 +15,12 @@ #define XDRV_84 84 #include "esp_hosted.h" -#if __has_include("port/esp/freertos/include/port_esp_hosted_host_config.h") + +extern "C" { +#include "esp_hosted_transport_config.h" +} + #include "port/esp/freertos/include/port_esp_hosted_host_config.h" -#endif //#include "port_esp_hosted_host_config.h" -#include "esp_hosted_api_types.h" -#include "esp_hosted_ota.h" struct Hosted_t { char *hosted_ota_url; // Hosted MCU OTA URL