--- uae/src/fsdb.c 2018/04/24 17:10:41 1.1.1.6 +++ uae/src/fsdb.c 2018/04/24 17:18:19 1.1.1.9 @@ -10,7 +10,6 @@ #include "sysconfig.h" #include "sysdeps.h" -#include "config.h" #include "threaddep/thread.h" #include "options.h" #include "uae.h" @@ -20,7 +19,6 @@ #include "filesys.h" #include "autoconf.h" #include "fsusage.h" -#include "native2amiga.h" #include "scsidev.h" #include "fsdb.h" @@ -54,7 +52,7 @@ char *fsdb_search_dir (const char *dirna /* This really shouldn't happen... */ if (! dir) return 0; - + while (p == 0 && (de = readdir (dir)) != 0) { if (strcmp (de->d_name, rel) == 0) p = rel; @@ -197,7 +195,7 @@ static int needs_dbentry (a_inode *aino) if (aino->deleted) return 0; - + if (! fsdb_mode_representable_p (aino) || aino->comment != 0) return 1;