diff options
author | Eric Blake <eblake@redhat.com> | 2007-05-17 12:10:29 +0000 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2007-05-17 12:10:29 +0000 |
commit | 487e9075d0e14e4b7c4422f966980ad5f726eb36 (patch) | |
tree | 34733d4e3ce7b96f9b1af8e4d2d7f59bc08b1732 /newlib/libc | |
parent | d009633d30f746b0f5c53442e5f37743653deb9d (diff) | |
download | newlib-487e9075d0e14e4b7c4422f966980ad5f726eb36.zip newlib-487e9075d0e14e4b7c4422f966980ad5f726eb36.tar.gz newlib-487e9075d0e14e4b7c4422f966980ad5f726eb36.tar.bz2 |
* stdio/tmpfile.c: Include <sys/stat.h>.
* stdio64/tmpfile64.c: Ditto.
Diffstat (limited to 'newlib/libc')
-rw-r--r-- | newlib/libc/stdio/tmpfile.c | 1 | ||||
-rw-r--r-- | newlib/libc/stdio64/tmpfile64.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/newlib/libc/stdio/tmpfile.c b/newlib/libc/stdio/tmpfile.c index 902ef0b..eca4ec7 100644 --- a/newlib/libc/stdio/tmpfile.c +++ b/newlib/libc/stdio/tmpfile.c @@ -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 diff --git a/newlib/libc/stdio64/tmpfile64.c b/newlib/libc/stdio64/tmpfile64.c index e15f1c6..511606c 100644 --- a/newlib/libc/stdio64/tmpfile64.c +++ b/newlib/libc/stdio64/tmpfile64.c @@ -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 |