From: bernie Date: Mon, 20 Feb 2006 14:34:32 +0000 (+0000) Subject: Include appconfig.h before using its definitions. X-Git-Tag: 1.0.0~711 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=ef9091677fa3d4fb9f903fcb5debe52d5b52a8cf;p=bertos.git Include appconfig.h before using its definitions. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@530 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/mware/menu.c b/mware/menu.c index 89d88930..2aa23abd 100755 --- a/mware/menu.c +++ b/mware/menu.c @@ -16,6 +16,9 @@ /*#* *#* $Log$ + *#* Revision 1.3 2006/02/20 14:34:32 bernie + *#* Include appconfig.h before using its definitions. + *#* *#* Revision 1.2 2006/02/15 09:10:51 bernie *#* Make title bold; Fix height when we have no menubar. *#* @@ -67,16 +70,13 @@ #include "menu.h" -#if CONFIG_MENU_MENUBAR -#include "menubar.h" -#endif - #include #include #include #include #include #include +#include #if CPU_HARVARD #include /* strncpy_P() */ @@ -84,6 +84,10 @@ #include /* strcpy() */ +#if CONFIG_MENU_MENUBAR +#include "menubar.h" +#endif + #if defined(CONFIG_LOCALE) && (CONFIG_LOCALE == 1) #include "msg.h" #else