diff --git a/src/drivers/nuttx/lv_nuttx_entry.c b/src/drivers/nuttx/lv_nuttx_entry.c index 4166b20c3..57a4d289d 100644 --- a/src/drivers/nuttx/lv_nuttx_entry.c +++ b/src/drivers/nuttx/lv_nuttx_entry.c @@ -17,6 +17,7 @@ #include #include "lv_nuttx_cache.h" #include "lv_nuttx_image_cache.h" +#include "../../core/lv_global.h" #include "lv_nuttx_profiler.h" #include "../../../lvgl.h" diff --git a/src/drivers/nuttx/lv_nuttx_image_cache.c b/src/drivers/nuttx/lv_nuttx_image_cache.c index 3c0de01ce..93f59ed9a 100644 --- a/src/drivers/nuttx/lv_nuttx_image_cache.c +++ b/src/drivers/nuttx/lv_nuttx_image_cache.c @@ -8,11 +8,12 @@ *********************/ #include "lv_nuttx_image_cache.h" +#include "../../core/lv_global.h" #include "../../../lvgl.h" #if LV_USE_NUTTX -#include "../../lv_draw_buf_private.h" +#include "../../draw/lv_draw_buf_private.h" #include /*********************