diff --git a/components/lwip/port/esp32/include/lwip_default_hooks.h b/components/lwip/port/esp32/include/lwip_default_hooks.h index c882ddbd24..4af3c6582c 100644 --- a/components/lwip/port/esp32/include/lwip_default_hooks.h +++ b/components/lwip/port/esp32/include/lwip_default_hooks.h @@ -18,6 +18,10 @@ #include "lwip/arch.h" #include "lwip/err.h" +#ifdef ESP_IDF_LWIP_HOOK_FILENAME +#include ESP_IDF_LWIP_HOOK_FILENAME +#endif + #ifdef __cplusplus extern "C" { #endif