]> granicus.if.org Git - php/commitdiff
Fixed compiler warning.
authorIlia Alshanetsky <iliaa@php.net>
Tue, 28 Jan 2003 16:02:33 +0000 (16:02 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Tue, 28 Jan 2003 16:02:33 +0000 (16:02 +0000)
main/php_scandir.c

index a467a42bb92501672997eee42302008077a9a36c..ee4dfebfcd7e622ce77d78b8a0b8355a41f991ce 100644 (file)
@@ -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);