From fda0b5aa13e95bad3d063de4303103b2cdb8b337 Mon Sep 17 00:00:00 2001 From: Cacodemon345 Date: Mon, 12 Jun 2023 20:38:36 +0600 Subject: [PATCH] Always include dirent.h on non-Windows --- src/include/86box/plat_dir.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/include/86box/plat_dir.h b/src/include/86box/plat_dir.h index 899ff325e..ba1ac180f 100644 --- a/src/include/86box/plat_dir.h +++ b/src/include/86box/plat_dir.h @@ -66,12 +66,9 @@ extern void seekdir(DIR *, long); extern int closedir(DIR *); # define rewinddir(dirp) seekdir(dirp, 0L) -#elif defined(__FreeBSD__) -/* FreeBSD uses dirent.h instead of sys/dir.h */ -# include #else /* On linux and macOS, use the standard functions and types */ -# include +# include #endif #endif /*PLAT_DIR_H*/