From 112525ea9fcc8311000ffd8f0818eb60f24964ba Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Tue, 23 May 2000 15:15:48 +0000 Subject: Some systems don't have dirent.h. Wrap include appropiately. --- main/php_reentrancy.h | 2 ++ 1 file changed, 2 insertions(+) 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 +#ifdef HAVE_DIRENT_H #include +#endif #include /* currently, PHP does not check for these functions, but assumes -- cgit v1.2.1