From 487e9075d0e14e4b7c4422f966980ad5f726eb36 Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Thu, 17 May 2007 12:10:29 +0000 Subject: [PATCH] * stdio/tmpfile.c: Include . * stdio64/tmpfile64.c: Ditto. --- newlib/ChangeLog | 5 +++++ newlib/libc/stdio/tmpfile.c | 1 + newlib/libc/stdio64/tmpfile64.c | 1 + 3 files changed, 7 insertions(+) diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 17a8a42c3..13b93d974 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2007-05-17 Charles Wilson + + * stdio/tmpfile.c: Include . + * stdio64/tmpfile64.c: Ditto. + 2007-05-16 Eric Blake Close security hole in tmpfile. diff --git a/newlib/libc/stdio/tmpfile.c b/newlib/libc/stdio/tmpfile.c index 902ef0b4d..eca4ec735 100644 --- a/newlib/libc/stdio/tmpfile.c +++ b/newlib/libc/stdio/tmpfile.c @@ -50,6 +50,7 @@ Supporting OS subroutines required: <>, <>, <>, #include #include #include +#include #ifndef O_BINARY # define O_BINARY 0 diff --git a/newlib/libc/stdio64/tmpfile64.c b/newlib/libc/stdio64/tmpfile64.c index e15f1c653..511606c78 100644 --- a/newlib/libc/stdio64/tmpfile64.c +++ b/newlib/libc/stdio64/tmpfile64.c @@ -50,6 +50,7 @@ Supporting OS subroutines required: <>, <>, <>, #include #include #include +#include #ifndef O_BINARY # define O_BINARY 0