summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/standard/file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/standard/file.c b/ext/standard/file.c
index d8b98228ef..5a208d19c5 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;