diff --git a/ext/standard/file.c b/ext/standard/file.c index d8b98228ef4..5a208d19c50 100644 --- a/ext/standard/file.c +++ b/ext/standard/file.c @@ -170,6 +170,7 @@ static FILE *php_do_open_temporary_file(char *path, const char *pfx, char **open char *trailing_slash; FILE *fp; char *opened_path; + int fd; if (!path) { return NULL;