summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdio64
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio64')
-rw-r--r--newlib/libc/stdio64/tmpfile64.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/newlib/libc/stdio64/tmpfile64.c b/newlib/libc/stdio64/tmpfile64.c
index e15f1c653..511606c78 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