cvs: php4 /main php_scandir.c
| From: | Ilia Alshanetsky | Date: | Tue, 28 Jan 2003 16:04:10 +0000 |
| Subject: | cvs: php4 /main php_scandir.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-18245@lists.php.net to get a copy of this message | ||
iliaa Tue Jan 28 11:04:10 2003 EDT
Modified files:
/php4/main php_scandir.c
Log:
Fixed compiler warning.
Index: php4/main/php_scandir.c
diff -u php4/main/php_scandir.c:1.2 php4/main/php_scandir.c:1.3
--- php4/main/php_scandir.c:1.2 Mon Jan 27 19:42:54 2003
+++ php4/main/php_scandir.c Tue Jan 28 11:04:10 2003
@@ -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);