summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2009-09-01 19:41:51 +0000
committerPierre Joye <pajoye@php.net>2009-09-01 19:41:51 +0000
commitad2bb4bcb175f93d0d7820e2d4262ee5e691aa52 (patch)
treeb60acf2f370d9f9a361c803702f4570c892ae4ae /win32
parent39178112fcf7880eb97de217909492225c7b8ac3 (diff)
downloadphp-git-ad2bb4bcb175f93d0d7820e2d4262ee5e691aa52.tar.gz
- fix TS build
Diffstat (limited to 'win32')
-rw-r--r--win32/readdir.c3
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;