diff --git a/src/others/monkey/lv_monkey.c b/src/others/monkey/lv_monkey.c index 1259a9d3cc..9f970919d0 100644 --- a/src/others/monkey/lv_monkey.c +++ b/src/others/monkey/lv_monkey.c @@ -10,6 +10,11 @@ #if LV_USE_MONKEY != 0 +#include "../../misc/lv_math.h" +#include "../../misc/lv_assert.h" +#include "../../stdlib/lv_mem.h" +#include "../../display/lv_display.h" + /********************* * DEFINES *********************/ diff --git a/src/others/monkey/lv_monkey.h b/src/others/monkey/lv_monkey.h index 82b8b0b010..3791abc85b 100644 --- a/src/others/monkey/lv_monkey.h +++ b/src/others/monkey/lv_monkey.h @@ -13,6 +13,7 @@ extern "C" { * INCLUDES *********************/ #include "../../lv_conf_internal.h" +#include "../../indev/lv_indev.h" #if LV_USE_MONKEY != 0 diff --git a/tests/src/lv_test_conf_full.h b/tests/src/lv_test_conf_full.h index bd05a832d5..d3d872905f 100644 --- a/tests/src/lv_test_conf_full.h +++ b/tests/src/lv_test_conf_full.h @@ -56,6 +56,7 @@ #define LV_USE_FS_MEMFS 1 #define LV_FS_MEMFS_LETTER 'M' +#define LV_USE_MONKEY 1 #define LV_USE_RLE 1 #define LV_USE_LODEPNG 1 #define LV_USE_LIBPNG 1