diff options
| author | Dave Chapman <dave@dchapman.com> | 2006-09-02 19:11:00 +0000 |
|---|---|---|
| committer | Dave Chapman <dave@dchapman.com> | 2006-09-02 19:11:00 +0000 |
| commit | 1fe5fc935c8b1d39c82a75361bc7c6d34648f3e1 (patch) | |
| tree | 339f4d3c186e2cb20d8bf30fb7ac26114b30f6ac /apps | |
| parent | 617b67e769661d4841b4fd1ace358b932f9c0378 (diff) | |
| download | rockbox-1fe5fc935c8b1d39c82a75361bc7c6d34648f3e1.zip rockbox-1fe5fc935c8b1d39c82a75361bc7c6d34648f3e1.tar.gz rockbox-1fe5fc935c8b1d39c82a75361bc7c6d34648f3e1.tar.bz2 rockbox-1fe5fc935c8b1d39c82a75361bc7c6d34648f3e1.tar.xz | |
#include button.h in settings.h - HAVE_BUTTON_HOLD (defined in button.h) is used in the definition of the settings structure - meaning different settings structures were being used depending on whether the .c file included button.h before settings.h or not. Thanks to David Rothenberger for spotting.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10857 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/settings.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/settings.h b/apps/settings.h index e4787f5..05f5dee 100644 --- a/apps/settings.h +++ b/apps/settings.h @@ -27,6 +27,7 @@ #include "dircache.h" #include "timefuncs.h" #include "tagcache.h" +#include "button.h" #ifdef HAVE_BACKLIGHT_BRIGHTNESS #include "backlight.h" /* for [MIN|MAX]_BRIGHTNESS_SETTING */ |