Skip to content

Commit b9a7918

Browse files
author
Ilia Alshanetsky
committed
2nd part of Sebastian's patch.
1 parent 7c283f8 commit b9a7918

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

main/php_scandir.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@
1818
*/
1919

2020
#include "php_scandir.h"
21+
#ifdef PHP_WIN32
22+
#include "config.w32.h"
23+
#else
2124
#include "php_config.h"
25+
#endif
2226

2327
#ifndef HAVE_SCANDIR
2428
#include <sys/types.h>

main/php_scandir.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
#include <sys/types.h>
2-
#include "php_config.h"
32

43
#ifdef HAVE_DIRENT_H
54
# include <dirent.h>
65
#endif
76

87
#ifdef PHP_WIN32
8+
#include "config.w32.h"
99
#include "win32/readdir.h"
10+
#else
11+
#include "php_config.h"
1012
#endif
1113

1214
#ifndef HAVE_ALPHASORT

0 commit comments

Comments
 (0)