]> granicus.if.org Git - php/commitdiff
- fix TS build
authorPierre Joye <pajoye@php.net>
Tue, 1 Sep 2009 19:41:51 +0000 (19:41 +0000)
committerPierre Joye <pajoye@php.net>
Tue, 1 Sep 2009 19:41:51 +0000 (19:41 +0000)
win32/readdir.c

index 1088ba716c4593827a7c42eafc9d3c86a5c891ff..52ebe2fd092fbdcfbb79586f4d35371c0d536863 100644 (file)
@@ -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;