diff options
author | Shane Caraveo <shane@php.net> | 2003-01-26 01:39:18 +0000 |
---|---|---|
committer | Shane Caraveo <shane@php.net> | 2003-01-26 01:39:18 +0000 |
commit | 82f6cef483d3effcdef42f1602f24d8f3aa329fc (patch) | |
tree | fb7dc52fae6921550f7cd768351bd0557cedd11b /win32/readdir.h | |
parent | 436ad07b9806c09893f4583432c996748ac568f4 (diff) | |
download | php-git-82f6cef483d3effcdef42f1602f24d8f3aa329fc.tar.gz |
Fix broken build by adding scandir and alphasort for win32
Diffstat (limited to 'win32/readdir.h')
-rw-r--r-- | win32/readdir.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/win32/readdir.h b/win32/readdir.h index aed9a44788..b63015355a 100644 --- a/win32/readdir.h +++ b/win32/readdir.h @@ -39,6 +39,10 @@ struct dirent *readdir(DIR *); int readdir_r(DIR *, struct dirent *, struct dirent **); int closedir(DIR *); int rewinddir(DIR *); - +int scandir(const char *dirname, + struct dirent **namelist[], + int (*selector) (const struct dirent *entry), + int (*compare) (const struct dirent **a, const struct dirent **b)); +int alphasort(const struct dirent **a, const struct dirent **b); #endif /* READDIR_H */ |