* 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…
Reference in New Issue