summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/logf.c2
-rw-r--r--firmware/target/hosted/sdl/button-sdl.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/firmware/logf.c b/firmware/logf.c
index d8f0367..3a6b696 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 d3b30b4..4bd4b8d 100644
--- a/firmware/target/hosted/sdl/button-sdl.c
+++ b/firmware/target/hosted/sdl/button-sdl.c
@@ -23,7 +23,9 @@
#include <stdlib.h> /* 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"