summaryrefslogtreecommitdiff
path: root/main/php_scandir.h
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2003-02-02 23:09:24 +0000
committerIlia Alshanetsky <iliaa@php.net>2003-02-02 23:09:24 +0000
commitccf8365baad693e49a7b5805aea1289cf79bd1d9 (patch)
tree233d143396c5b069b2c2b1e90426a63203d8feb3 /main/php_scandir.h
parent923ae6ca3ef5a5ef8af2e60ab3fb055c685be5e8 (diff)
downloadphp-git-ccf8365baad693e49a7b5805aea1289cf79bd1d9.tar.gz
Fixed bug #22021.
Diffstat (limited to 'main/php_scandir.h')
-rw-r--r--main/php_scandir.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/main/php_scandir.h b/main/php_scandir.h
index b7a2b9e78b..fc3b191dfb 100644
--- a/main/php_scandir.h
+++ b/main/php_scandir.h
@@ -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