cvs: php4 / php_reentrancy.h
| From: | Sascha Schumann | Date: | Tue, 23 May 2000 15:15:48 +0000 |
| Subject: | cvs: php4 / php_reentrancy.h | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-15570@lists.php.net to get a copy of this message | ||
sas Tue May 23 17:15:48 2000 EDT
Modified files:
/php4 php_reentrancy.h
Log:
Some systems don't have dirent.h. Wrap include appropiately.
Index: php4/php_reentrancy.h
diff -u php4/php_reentrancy.h:1.11 php4/php_reentrancy.h:1.12
--- php4/php_reentrancy.h:1.11 Tue May 23 17:13:15 2000
+++ php4/php_reentrancy.h Tue May 23 17:15:48 2000
@@ -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