diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2003-02-02 23:09:24 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2003-02-02 23:09:24 +0000 |
commit | ccf8365baad693e49a7b5805aea1289cf79bd1d9 (patch) | |
tree | 233d143396c5b069b2c2b1e90426a63203d8feb3 /main/php_scandir.h | |
parent | 923ae6ca3ef5a5ef8af2e60ab3fb055c685be5e8 (diff) | |
download | php-git-ccf8365baad693e49a7b5805aea1289cf79bd1d9.tar.gz |
Fixed bug #22021.
Diffstat (limited to 'main/php_scandir.h')
-rw-r--r-- | main/php_scandir.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/main/php_scandir.h b/main/php_scandir.h index b7a2b9e78b..fc3b191dfb 100644 --- a/main/php_scandir.h +++ b/main/php_scandir.h @@ -1,9 +1,5 @@ #include <sys/types.h> -#ifdef HAVE_DIRENT_H -# include <dirent.h> -#endif - #ifdef PHP_WIN32 #include "config.w32.h" #include "win32/readdir.h" @@ -11,6 +7,10 @@ #include "php_config.h" #endif +#ifdef HAVE_DIRENT_H +# include <dirent.h> +#endif + #ifndef HAVE_ALPHASORT int alphasort(const struct dirent **a, const struct dirent **b); #endif |