diff --git a/firmware/common/filefuncs.c b/firmware/common/filefuncs.c index ea5984e485..21096dac3c 100644 --- a/firmware/common/filefuncs.c +++ b/firmware/common/filefuncs.c @@ -89,11 +89,10 @@ bool dir_exists(const char *path) return true; } -#if !(CONFIG_PLATFORM & PLATFORM_ANDROID) +#endif /* __PCTOOL__ */ + struct dirinfo dir_get_info(DIR* parent, struct dirent *entry) { (void)parent; return entry->info; } -#endif -#endif /* __PCTOOL__ */ diff --git a/tools/database/SOURCES b/tools/database/SOURCES index e66ea603e1..0abfce61ff 100644 --- a/tools/database/SOURCES +++ b/tools/database/SOURCES @@ -8,6 +8,7 @@ database.c ../../apps/mp3data.c ../../apps/tagcache.c ../../firmware/common/crc32.c +../../firmware/common/filefuncs.c ../../firmware/common/strlcpy.c ../../firmware/common/strcasestr.c ../../firmware/common/structec.c