diff --git a/filesystem/filesystem.c b/filesystem/filesystem.c index bbb01700..1579c6ad 100644 --- a/filesystem/filesystem.c +++ b/filesystem/filesystem.c @@ -264,7 +264,7 @@ void listdirectory( stringlist_t *list, const char *path, qboolean dirs_only ) while(( entry = readdir( dir ))) { #if HAVE_DIRENT_D_TYPE - if( dirs_only && entry->d_type != DT_DIR && entry->d_type != DT_UNKNOWN ) + if( dirs_only && entry->d_type != DT_DIR && entry->d_type != DT_LNK && entry->d_type != DT_UNKNOWN ) continue; #endif