diff options
author | Pierre Joye <pajoye@php.net> | 2009-09-01 19:41:51 +0000 |
---|---|---|
committer | Pierre Joye <pajoye@php.net> | 2009-09-01 19:41:51 +0000 |
commit | ad2bb4bcb175f93d0d7820e2d4262ee5e691aa52 (patch) | |
tree | b60acf2f370d9f9a361c803702f4570c892ae4ae /win32 | |
parent | 39178112fcf7880eb97de217909492225c7b8ac3 (diff) | |
download | php-git-ad2bb4bcb175f93d0d7820e2d4262ee5e691aa52.tar.gz |
- fix TS build
Diffstat (limited to 'win32')
-rw-r--r-- | win32/readdir.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/win32/readdir.c b/win32/readdir.c index 1088ba716c..52ebe2fd09 100644 --- a/win32/readdir.c +++ b/win32/readdir.c @@ -4,7 +4,7 @@ #include "php.h" #include "readdir.h" - +#include "TSRM.h" /********************************************************************** * Implement dirent-style opendir/readdir/rewinddir/closedir on Win32 * @@ -26,6 +26,7 @@ DIR *opendir(const char *dir) HANDLE handle; int index; char resolved_path_buff[MAXPATHLEN]; + TSRMLS_FETCH(); if (!VCWD_REALPATH(dir, resolved_path_buff)) { return NULL; |