From 1fe5fc935c8b1d39c82a75361bc7c6d34648f3e1 Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Sat, 2 Sep 2006 19:11:00 +0000 Subject: #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 --- apps/settings.h | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/settings.h b/apps/settings.h index e4787f53a6..05f5dee382 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 */ -- cgit v1.2.3