cvs: php4(PHP_4_3) /main php_scandir.c
| From: | Ilia Alshanetsky | Date: | Tue, 28 Jan 2003 16:02:34 +0000 |
| Subject: | cvs: php4(PHP_4_3) /main php_scandir.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-18244@lists.php.net to get a copy of this message | ||
iliaa Tue Jan 28 11:02:34 2003 EDT
Modified files: (Branch: PHP_4_3)
/php4/main php_scandir.c
Log:
Fixed compiler warning.
Index: php4/main/php_scandir.c
diff -u php4/main/php_scandir.c:1.2.2.1 php4/main/php_scandir.c:1.2.2.2
--- php4/main/php_scandir.c:1.2.2.1 Mon Jan 27 20:51:25 2003
+++ php4/main/php_scandir.c Tue Jan 28 11:02:33 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);