From edaa8a0ce993c5a7f7af5adef463951a8278746f Mon Sep 17 00:00:00 2001 From: anjiahao Date: Sat, 13 Nov 2021 15:28:44 +0800 Subject: [PATCH] fix sim_x11fb compile error Signed-off-by: anjiahao --- arch/sim/src/sim/up_lcd.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/sim/src/sim/up_lcd.c b/arch/sim/src/sim/up_lcd.c index 3ec52042e4..4cf7890546 100644 --- a/arch/sim/src/sim/up_lcd.c +++ b/arch/sim/src/sim/up_lcd.c @@ -37,6 +37,9 @@ #include #include "up_internal.h" +#if defined(CONFIG_SIM_X11FB) +#include +#endif /**************************************************************************** * Pre-processor Definitions ****************************************************************************/