From a8d2ac0f085ad71a16f10c2d45ae5f8b34553a5a Mon Sep 17 00:00:00 2001 From: ericb Date: Thu, 17 May 2007 12:10:28 +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 17a8a42c34..13b93d974a 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 902ef0b4df..eca4ec7358 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 e15f1c653d..511606c78d 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 -- 2.11.0