summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2003-01-28 16:04:10 +0000
committerIlia Alshanetsky <iliaa@php.net>2003-01-28 16:04:10 +0000
commit4fe6fc8b0b1996af9336cb9c2d40e4d3ce0d2a1f (patch)
tree1d925c8d1c06f20cd16a6d79b6e446e151bea3c2
parent5b387760de96fda36f2232c4a9c114310c6ca37e (diff)
downloadphp-git-4fe6fc8b0b1996af9336cb9c2d40e4d3ce0d2a1f.tar.gz
Fixed compiler warning.
-rw-r--r--main/php_scandir.c2
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);