OSDN Git Service

* stdio/tmpfile.c: Include <sys/stat.h>.
authorericb <ericb>
Thu, 17 May 2007 12:10:28 +0000 (12:10 +0000)
committerericb <ericb>
Thu, 17 May 2007 12:10:28 +0000 (12:10 +0000)
* stdio64/tmpfile64.c: Ditto.

newlib/ChangeLog
newlib/libc/stdio/tmpfile.c
newlib/libc/stdio64/tmpfile64.c

index 17a8a42..13b93d9 100644 (file)
@@ -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.
index 902ef0b..eca4ec7 100644 (file)
@@ -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
index e15f1c6..511606c 100644 (file)
@@ -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