cvs: php4 / php_reentrancy.h
[email protected] ("Sascha Schumann")
| Newsgroups | php.version4 |
|---|---|
| Message-ID | <cvssas959094948@cvsserver> |
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