# include <io.h>
#endif
-#ifdef HAVE_DIRENT_H
-# include <dirent.h>
-#endif
#ifdef __sun__
static inline int dirfd (DIR *dir)
{
uri = NULL;
}
else
- uri = make_URI (p_access->psz_filepath);
+ uri = make_URI (p_access->psz_filepath, "file");
if (unlikely(uri == NULL))
goto error;