diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2003-01-28 00:42:54 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2003-01-28 00:42:54 +0000 |
commit | b9a7918c43f7c0d84200f9202347734d102edbf5 (patch) | |
tree | 3291199d39d745f006bd39f382ef8bb0364eee6e | |
parent | 7c283f80bebb493008fa3c025416d6a907ab4bf8 (diff) | |
download | php-git-b9a7918c43f7c0d84200f9202347734d102edbf5.tar.gz |
2nd part of Sebastian's patch.
-rw-r--r-- | main/php_scandir.c | 4 | ||||
-rw-r--r-- | main/php_scandir.h | 4 |
2 files changed, 7 insertions, 1 deletions
diff --git a/main/php_scandir.c b/main/php_scandir.c index 8974a69889..a467a42bb9 100644 --- a/main/php_scandir.c +++ b/main/php_scandir.c @@ -18,7 +18,11 @@ */ #include "php_scandir.h" +#ifdef PHP_WIN32 +#include "config.w32.h" +#else #include "php_config.h" +#endif #ifndef HAVE_SCANDIR #include <sys/types.h> 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 |