diff options
| author | Ilia Alshanetsky <iliaa@php.net> | 2003-01-28 01:51:26 +0000 |
|---|---|---|
| committer | Ilia Alshanetsky <iliaa@php.net> | 2003-01-28 01:51:26 +0000 |
| commit | 96f815aa74dc34beb85aa49c29696f8de16a6c26 (patch) | |
| tree | 672c445e5c71ec8d691af24d0d04bf2f152e0b43 /main/php_ini.c | |
| parent | 12e5f25ced5752e31b84fae1bb0fd82ec1ca5eb9 (diff) | |
| download | php-git-96f815aa74dc34beb85aa49c29696f8de16a6c26.tar.gz | |
MFH (scandir patch).
Diffstat (limited to 'main/php_ini.c')
| -rw-r--r-- | main/php_ini.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/main/php_ini.c b/main/php_ini.c index 75b465456b..747ef5f05f 100644 --- a/main/php_ini.c +++ b/main/php_ini.c @@ -31,12 +31,10 @@ #include "SAPI.h" #include "php_main.h" -#ifdef PHP_WIN32 -#include "readdir.h" -/* this makes no sence, vc6 errors if this declaration is not here */ -extern int alphasort(const struct dirent **a, const struct dirent **b); +#if !HAVE_SCANDIR || !HAVE_ALPHASORT + #include "php_scandir.h" #else -#include "dirent.h" + #include <dirent.h> #endif #ifndef S_ISREG |
