diff options
| -rw-r--r-- | main/php_reentrancy.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/php_reentrancy.h b/main/php_reentrancy.h index 0cba46e896..6b637879e2 100644 --- a/main/php_reentrancy.h +++ b/main/php_reentrancy.h @@ -23,7 +23,9 @@ #include "php.h" #include <sys/types.h> +#ifdef HAVE_DIRENT_H #include <dirent.h> +#endif #include <time.h> /* currently, PHP does not check for these functions, but assumes |
