diff --git a/apps/tagcache.c b/apps/tagcache.c index c8900f5c38..adfe148db4 100644 --- a/apps/tagcache.c +++ b/apps/tagcache.c @@ -4991,7 +4991,7 @@ void do_tagcache_build(const char *path[]) roots_ll[0].path = path[0]; roots_ll[0].next = NULL; -#if defined HAVE_MULTIVOLUME && !defined(SIMULATOR) && !defined(__PCTOOL__) +#if defined(HAVE_MULTIVOLUME) && !defined(SIMULATOR) && !defined(__PCTOOL__) && !defined(PLATFORM_NATIVE) extern bool ns_volume_is_visible(int volume); /*rb_namespace.c*/ /* i is for the path vector, j for the roots_ll array */ int i = 1, j = 1; diff --git a/firmware/SOURCES b/firmware/SOURCES index 0cfea38272..83e1f048d7 100644 --- a/firmware/SOURCES +++ b/firmware/SOURCES @@ -238,7 +238,9 @@ common/dircache.c common/pathfuncs.c common/fdprintf.c common/linked_list.c +#ifndef PLATFORM_NATIVE common/rb_namespace.c +#endif common/rectangle.c common/strcasecmp.c common/strcasestr.c