summaryrefslogtreecommitdiff
path: root/main/php_reentrancy.h
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-05-23 15:15:48 +0000
committerSascha Schumann <sas@php.net>2000-05-23 15:15:48 +0000
commit112525ea9fcc8311000ffd8f0818eb60f24964ba (patch)
tree0f0416ae9ab081ce8c07bfe141e6065987017edd /main/php_reentrancy.h
parent2aaa538aef24cd8140ff6aa80e544978dd7035fd (diff)
downloadphp-git-112525ea9fcc8311000ffd8f0818eb60f24964ba.tar.gz
Some systems don't have dirent.h. Wrap include appropiately.
Diffstat (limited to 'main/php_reentrancy.h')
-rw-r--r--main/php_reentrancy.h2
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