summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2009-03-09 23:13:50 +0000
committerThomas Martitz <kugel@rockbox.org>2009-03-09 23:13:50 +0000
commitd33bff2b47bd30fe67a6ed963177f51ce156d5b7 (patch)
treee15b0f1200b20ed3c05cfd886af4d6698fbd23c5
parent70cce5c03b1016087368105595da511f168cda92 (diff)
downloadrockbox-d33bff2b47bd30fe67a6ed963177f51ce156d5b7.tar.gz
rockbox-d33bff2b47bd30fe67a6ed963177f51ce156d5b7.zip
Small fixup of the recent #include cleanup. settings.h needs button.h for HAS_BUTTON_HOLD
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20272 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/settings.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/settings.h b/apps/settings.h
index 17d5acb51a..c376a46dea 100644
--- a/apps/settings.h
+++ b/apps/settings.h
@@ -26,6 +26,7 @@
#include <stddef.h>
#include "inttypes.h"
#include "config.h"
+#include "button.h"
#if CONFIG_CODEC == SWCODEC
#include "audio.h"
#endif
@@ -655,6 +656,7 @@ struct user_settings
#if CONFIG_CHARGING
int backlight_timeout_plugged;
#endif
+#ifdef HAVE_BACKLIGHT
#ifdef HAS_BUTTON_HOLD
int backlight_on_button_hold; /* what to do with backlight when hold
switch is on */
@@ -663,6 +665,7 @@ struct user_settings
int lcd_sleep_after_backlight_off; /* when to put lcd to sleep after backlight
has turned off */
#endif
+#endif
#if defined(HAVE_BACKLIGHT_FADING_INT_SETTING)
int backlight_fade_in; /* backlight fade in timing: 0..3 */
int backlight_fade_out; /* backlight fade in timing: 0..7 */