summaryrefslogtreecommitdiffstats
path: root/firmware/powermgmt.c
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2012-01-07 19:49:36 +0000
committerRafaël Carré <rafael.carre@gmail.com>2012-01-07 19:49:36 +0000
commitd0d00265cda77f5d7ea9db1f05b7072262d65aee (patch)
tree3ca8acbba9eaca05562818dbfe6a0d0462e594ba /firmware/powermgmt.c
parent95f3ba56583959ce6df1ed03cbfe00e7f123c494 (diff)
downloadrockbox-d0d00265cda77f5d7ea9db1f05b7072262d65aee.tar.gz
rockbox-d0d00265cda77f5d7ea9db1f05b7072262d65aee.tar.bz2
rockbox-d0d00265cda77f5d7ea9db1f05b7072262d65aee.zip
powermgmt.c : include lcd-remote.h only when needed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31612 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/powermgmt.c')
-rw-r--r--firmware/powermgmt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c
index b4f8aab815..80cd3d4a5c 100644
--- a/firmware/powermgmt.c
+++ b/firmware/powermgmt.c
@@ -43,7 +43,9 @@
#include "font.h"
#endif
#include "logf.h"
+#ifdef HAVE_REMOTE_LCD
#include "lcd-remote.h"
+#endif
#if (CONFIG_PLATFORM & PLATFORM_HOSTED)
#include <time.h>
#endif