diff --git a/src/draw/sdl/lv_draw_sdl.h b/src/draw/sdl/lv_draw_sdl.h index b834e5d9c..07712b77e 100644 --- a/src/draw/sdl/lv_draw_sdl.h +++ b/src/draw/sdl/lv_draw_sdl.h @@ -1,10 +1,10 @@ /** - * @file lv_draw_sw.h + * @file lv_draw_sdl.h * */ -#ifndef LV_DRAW_SW_H -#define LV_DRAW_SW_H +#ifndef LV_DRAW_SDL_H +#define LV_DRAW_SDL_H #ifdef __cplusplus extern "C" { diff --git a/src/lv_init.c b/src/lv_init.c index 1b8c816b2..5221f398c 100644 --- a/src/lv_init.c +++ b/src/lv_init.c @@ -32,6 +32,9 @@ #if LV_USE_DRAW_PXP #include "draw/nxp/pxp/lv_draw_pxp.h" #endif +#if LV_USE_DRAW_SDL + #include "draw/sdl/lv_draw_sdl.h" +#endif /********************* * DEFINES