From: Ilia Alshanetsky Date: Tue, 28 Jan 2003 16:04:10 +0000 (+0000) Subject: Fixed compiler warning. X-Git-Tag: RELEASE_0_5~1385 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4fe6fc8b0b1996af9336cb9c2d40e4d3ce0d2a1f;p=php Fixed compiler warning. --- 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 + int alphasort(const struct dirent **a, const struct dirent **b) { return strcoll((*a)->d_name,(*b)->d_name);