summaryrefslogtreecommitdiff
path: root/main/php_scandir.h
diff options
context:
space:
mode:
Diffstat (limited to 'main/php_scandir.h')
-rw-r--r--main/php_scandir.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/main/php_scandir.h b/main/php_scandir.h
index a658ad02a9..b7a2b9e78b 100644
--- a/main/php_scandir.h
+++ b/main/php_scandir.h
@@ -1,12 +1,14 @@
#include <sys/types.h>
-#include "php_config.h"
#ifdef HAVE_DIRENT_H
# include <dirent.h>
#endif
#ifdef PHP_WIN32
+#include "config.w32.h"
#include "win32/readdir.h"
+#else
+#include "php_config.h"
#endif
#ifndef HAVE_ALPHASORT