diff options
| author | Shane Caraveo <shane@php.net> | 2003-01-26 01:46:40 +0000 |
|---|---|---|
| committer | Shane Caraveo <shane@php.net> | 2003-01-26 01:46:40 +0000 |
| commit | 842fa7a7164aba8494ca41c9c2c809264e6d1e89 (patch) | |
| tree | 472b0f4074bc2187da0528a1aeb077f029b90808 /main/php_ini.c | |
| parent | 839512558faefc0331ba4f51f2d45a0878c6712c (diff) | |
| download | php-git-842fa7a7164aba8494ca41c9c2c809264e6d1e89.tar.gz | |
MFH
fix broken build by adding scandir and alphasort
Diffstat (limited to 'main/php_ini.c')
| -rw-r--r-- | main/php_ini.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/main/php_ini.c b/main/php_ini.c index 90b9c737b9..75b465456b 100644 --- a/main/php_ini.c +++ b/main/php_ini.c @@ -31,7 +31,13 @@ #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); +#else #include "dirent.h" +#endif #ifndef S_ISREG #define S_ISREG(mode) (((mode) & S_IFMT) == S_IFREG) |
