diff --git a/firmware/logf.c b/firmware/logf.c index d8f036703e..3a6b696b1a 100644 --- a/firmware/logf.c +++ b/firmware/logf.c @@ -32,7 +32,9 @@ #include "config.h" #include "system.h" #include "font.h" +#ifdef HAVE_REMOTE_LCD #include "lcd-remote.h" +#endif #include "logf.h" #include "serial.h" #include "format.h" diff --git a/firmware/target/hosted/sdl/button-sdl.c b/firmware/target/hosted/sdl/button-sdl.c index d3b30b41ef..4bd4b8de64 100644 --- a/firmware/target/hosted/sdl/button-sdl.c +++ b/firmware/target/hosted/sdl/button-sdl.c @@ -23,7 +23,9 @@ #include /* EXIT_SUCCESS */ #include "sim-ui-defines.h" #include "lcd-charcells.h" +#ifdef HAVE_REMOTE_LCD #include "lcd-remote.h" +#endif #include "config.h" #include "button.h" #include "kernel.h"