diff --git a/examples/bluetooth/esp_ble_mesh/common_components/button/include/iot_button.h b/examples/bluetooth/esp_ble_mesh/common_components/button/include/iot_button.h index 0a8564d683..76333c1001 100644 --- a/examples/bluetooth/esp_ble_mesh/common_components/button/include/iot_button.h +++ b/examples/bluetooth/esp_ble_mesh/common_components/button/include/iot_button.h @@ -19,7 +19,7 @@ extern "C" { #endif #include "driver/gpio.h" -#include "freertos/portmacro.h" +#include "freertos/FreeRTOS.h" typedef void (* button_cb)(void*); typedef void* button_handle_t;