From: Kalle Sommer Nielsen Date: Tue, 1 Sep 2009 20:12:02 +0000 (+0000) Subject: Fix build X-Git-Tag: php-5.4.0alpha1~191^2~2709 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8cdfa07dc0974efbd10b40429d6ddb4a5d54a0eb;p=php Fix build --- diff --git a/win32/readdir.c b/win32/readdir.c index 1088ba716c..ff68c720fe 100644 --- a/win32/readdir.c +++ b/win32/readdir.c @@ -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;