summaryrefslogtreecommitdiff
path: root/main/php_scandir.h
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2003-09-08 13:15:44 +0000
committerfoobar <sniper@php.net>2003-09-08 13:15:44 +0000
commit40bc8342106dabe1b1fe355b6b324dfa7914473b (patch)
treed0e961705b2d568267fa23480f01d11277f3d34f /main/php_scandir.h
parent24f458a0043e0e5626375f5eac74e8ce5deec1f6 (diff)
downloadphp-git-40bc8342106dabe1b1fe355b6b324dfa7914473b.tar.gz
MFH: Fix for bug #25295
Diffstat (limited to 'main/php_scandir.h')
-rw-r--r--main/php_scandir.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/php_scandir.h b/main/php_scandir.h
index 961188e7ad..416e3d88cf 100644
--- a/main/php_scandir.h
+++ b/main/php_scandir.h
@@ -24,6 +24,10 @@
#include <sys/types.h>
+#ifdef HAVE_SYS_DIR_H
+#include <sys/dir.h>
+#endif
+
#ifdef PHP_WIN32
#include "config.w32.h"
#include "win32/readdir.h"