This was once part of TSRM but then got refactored into the windows
implementation win32/readdir.h directly. Instead of including such files
directly code should use zend_virtual_cwd.h which is already part of the
php.h file.
+++ /dev/null
-/* Keep this header for compatibility with external code, it's currently not
- used anywhere in the core and there are no implementations in TSRM. */
-#include "win32/readdir.h"
#endif
#ifdef ZEND_WIN32
-#include "readdir.h"
+#include "win32/readdir.h"
#include <sys/utime.h>
#include "win32/ioutil.h"
/* mode_t isn't defined on Windows */