src/fios.h
changeset 6414 3a4b44cf00b1
parent 6412 a77de25206bc
child 6505 abcb0580d976
--- a/src/fios.h	Tue Feb 20 06:39:09 2007 +0000
+++ b/src/fios.h	Tue Feb 20 09:46:10 2007 +0000
@@ -80,6 +80,10 @@
 DIR *opendir(const wchar_t *path);
 struct dirent *readdir(DIR *d);
 int closedir(DIR *d);
+#else
+/* Use system-supplied opendir/readdir/closedir functions */
+# include <sys/types.h>
+# include <dirent.h>
 #endif /* defined(WIN32) */
 
 /**