1--- src/Ylib/file.c.orig 2020-03-29 06:09:00 UTC 2+++ src/Ylib/file.c 3@@ -133,7 +133,11 @@ char *pathname ; 4 5 } /* end Yfile_slink */ 6 7+#if defined(__FreeBSD__) || defined(__DragonFly__) 8+#include <dirent.h> 9+#else 10 #include <sys/dir.h> 11+#endif 12 13 /* check if a directory exists */ 14 BOOL YdirectoryExists(pathname) 15 16