diff --git a/apps/plugin.c b/apps/plugin.c index e916918f23..cb6990384c 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -832,7 +832,9 @@ static const struct plugin_api rockbox_api = { /* new stuff at the end, sort into place next time the API gets incompatible */ +#ifdef HAVE_TAGCACHE tagcache_commit_finalize, +#endif }; static int plugin_buffer_handle; diff --git a/apps/plugin.h b/apps/plugin.h index 4f9027987f..a85af47826 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -969,7 +969,9 @@ struct plugin_api { #endif /* new stuff at the end, sort into place next time the API gets incompatible */ +#ifdef HAVE_TAGCACHE void (*tagcache_commit_finalize)(void); +#endif }; /* plugin header */