mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-20 05:19:21 +08:00
* stdio/tmpfile.c: Include <sys/stat.h>.
* stdio64/tmpfile64.c: Ditto.
This commit is contained in:
parent
d009633d30
commit
487e9075d0
@ -1,3 +1,8 @@
|
||||
2007-05-17 Charles Wilson <cygwin@...>
|
||||
|
||||
* stdio/tmpfile.c: Include <sys/stat.h>.
|
||||
* stdio64/tmpfile64.c: Ditto.
|
||||
|
||||
2007-05-16 Eric Blake <ebb9@byu.net>
|
||||
|
||||
Close security hole in tmpfile.
|
||||
|
@ -50,6 +50,7 @@ Supporting OS subroutines required: <<close>>, <<fstat>>, <<getpid>>,
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#ifndef O_BINARY
|
||||
# define O_BINARY 0
|
||||
|
@ -50,6 +50,7 @@ Supporting OS subroutines required: <<close>>, <<fstat>>, <<getpid>>,
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#ifndef O_BINARY
|
||||
# define O_BINARY 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user