summaryrefslogtreecommitdiffstats
path: root/newlib/libc/reent/statr.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/reent/statr.c')
-rw-r--r--newlib/libc/reent/statr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/newlib/libc/reent/statr.c b/newlib/libc/reent/statr.c
index 55d29bdb8..48a377344 100644
--- a/newlib/libc/reent/statr.c
+++ b/newlib/libc/reent/statr.c
@@ -3,6 +3,7 @@
#include <reent.h>
#include <unistd.h>
+#include <sys/stat.h>
#include <_syslist.h>
/* Some targets provides their own versions of these functions. Those