summaryrefslogtreecommitdiff
path: root/main/php_scandir.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/php_scandir.c')
-rw-r--r--main/php_scandir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/php_scandir.c b/main/php_scandir.c
index 15d4febf4a..139e1c27cb 100644
--- a/main/php_scandir.c
+++ b/main/php_scandir.c
@@ -27,8 +27,6 @@
#include "php_scandir.h"
-#ifndef HAVE_SCANDIR
-
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
@@ -37,6 +35,8 @@
#include <dirent.h>
#endif
+#ifndef HAVE_SCANDIR
+
#ifdef PHP_WIN32
#include "win32/readdir.h"
#endif