]> granicus.if.org Git - php/commitdiff
Fixed bug #22021.
authorIlia Alshanetsky <iliaa@php.net>
Sun, 2 Feb 2003 23:09:24 +0000 (23:09 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Sun, 2 Feb 2003 23:09:24 +0000 (23:09 +0000)
main/php_scandir.h

index b7a2b9e78b43306d87c9c9123e66eb31a9eaae69..fc3b191dfbb6b593b9ea524eb721c75a5852f4d3 100644 (file)
@@ -1,9 +1,5 @@
 #include <sys/types.h>
 
-#ifdef HAVE_DIRENT_H
-# include <dirent.h>
-#endif
-
 #ifdef PHP_WIN32
 #include "config.w32.h"
 #include "win32/readdir.h"
@@ -11,6 +7,10 @@
 #include "php_config.h"
 #endif
 
+#ifdef HAVE_DIRENT_H
+# include <dirent.h>
+#endif
+
 #ifndef HAVE_ALPHASORT 
 int alphasort(const struct dirent **a, const struct dirent **b);
 #endif