diff options
| -rw-r--r-- | main/php_scandir.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/php_scandir.c b/main/php_scandir.c index a467a42bb9..ee4dfebfcd 100644 --- a/main/php_scandir.c +++ b/main/php_scandir.c @@ -40,6 +40,8 @@ #endif #ifndef HAVE_ALPHASORT + #include <string.h> + int alphasort(const struct dirent **a, const struct dirent **b) { return strcoll((*a)->d_name,(*b)->d_name); |
