summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/gui/viewport.c2
-rw-r--r--tools/checkwps/SOURCES2
2 files changed, 3 insertions, 1 deletions
diff --git a/apps/gui/viewport.c b/apps/gui/viewport.c
index b2fed557c0..061a11895a 100644
--- a/apps/gui/viewport.c
+++ b/apps/gui/viewport.c
@@ -38,7 +38,9 @@
#define BG_FALLBACK LCD_DEFAULT_BG
#endif
+#ifdef HAVE_LCD_BITMAP
static void set_default_align_flags(struct viewport *vp);
+#endif
/* all below isn't needed for pc tools (i.e. checkwps/wps editor)
* only viewport_parse_viewport() is */
diff --git a/tools/checkwps/SOURCES b/tools/checkwps/SOURCES
index 4afa5587e1..06ef3b9ee5 100644
--- a/tools/checkwps/SOURCES
+++ b/tools/checkwps/SOURCES
@@ -1,11 +1,11 @@
../../apps/gui/skin_engine/wps_debug.c
../../apps/gui/skin_engine/skin_parser.c
../../apps/gui/skin_engine/skin_buffer.c
+../../apps/gui/viewport.c
../../apps/misc.c
../../firmware/common/strlcpy.c
checkwps.c
#ifdef HAVE_LCD_BITMAP
../../apps/recorder/bmp.c
-../../apps/gui/viewport.c
#endif