summaryrefslogtreecommitdiffstats
path: root/apps/screen_access.c
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2012-01-07 19:35:46 +0000
committerRafaël Carré <rafael.carre@gmail.com>2012-01-07 19:35:46 +0000
commitb612263b1e75859aa773c63a9a5bfe7978f35e77 (patch)
tree355cb606c2559053d5852830bd4a77b8e4141ec8 /apps/screen_access.c
parent351c8b257381cefc14b86b4d5de9eb93390f4de4 (diff)
downloadrockbox-b612263b1e75859aa773c63a9a5bfe7978f35e77.tar.gz
rockbox-b612263b1e75859aa773c63a9a5bfe7978f35e77.tar.bz2
rockbox-b612263b1e75859aa773c63a9a5bfe7978f35e77.zip
apps: lcd-remote.h is not needed if HAVE_REMOTE_LCD is not defined
Fix a comment git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31608 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/screen_access.c')
-rw-r--r--apps/screen_access.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/screen_access.c b/apps/screen_access.c
index cd58654f7c..5ab08b7fc5 100644
--- a/apps/screen_access.c
+++ b/apps/screen_access.c
@@ -22,7 +22,9 @@
#include <stdio.h>
#include "config.h"
#include <lcd.h>
+#ifdef HAVE_REMOTE_LCD
#include <lcd-remote.h>
+#endif
#include <scroll_engine.h>
#include <font.h>
#include <button.h>
@@ -356,7 +358,7 @@ struct screen screens[NB_SCREENS] =
.has_buttonbar=false,
#endif
}
-#endif /* HAVE_REMOTE_LCD */
+#endif /* NB_SCREENS == 2 */
};
#ifdef HAVE_LCD_BITMAP