From 2b25e54ace37d5fe4d54a8c1beb71ce110666e16 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Wed, 9 Feb 2005 14:23:35 +0000 Subject: [PATCH] Fixed broken sim build git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5872 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.c | 1 + firmware/export/system.h | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/apps/plugin.c b/apps/plugin.c index 002f8568b9..f7458b71b2 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -43,6 +43,7 @@ #include "talk.h" #include "mp3data.h" #include "powermgmt.h" +#include "system.h" #ifdef HAVE_LCD_BITMAP #include "peakmeter.h" diff --git a/firmware/export/system.h b/firmware/export/system.h index 121deafc7e..84c222e171 100644 --- a/firmware/export/system.h +++ b/firmware/export/system.h @@ -234,6 +234,10 @@ static inline unsigned long SWAB32(unsigned long value) #define invalidate_icache() #endif +#else + +#define invalidate_icache() + #endif #endif