aboutsummaryrefslogtreecommitdiff
path: root/newlib
diff options
context:
space:
mode:
authorKen Brown <kbrown@cornell.edu>2019-07-26 10:09:23 -0400
committerKen Brown <kbrown@cornell.edu>2019-07-26 13:06:12 -0400
commitdea3d8c73e0c38043b7c839cc7d2431f51a03e16 (patch)
tree09eb2de8afcdebe553028f55df20a65306fe1460 /newlib
parent65416cca7eda20f70c88efa594938e4c3a347676 (diff)
downloadnewlib-dea3d8c73e0c38043b7c839cc7d2431f51a03e16.zip
newlib-dea3d8c73e0c38043b7c839cc7d2431f51a03e16.tar.gz
newlib-dea3d8c73e0c38043b7c839cc7d2431f51a03e16.tar.bz2
hash.c: #include <reent.h>
This is needed for the prototypes of _stat64 and _fstat64 on Cygwin. Fixes: commit 279805b2 "hash functions: use reentrant stat functions".
Diffstat (limited to 'newlib')
-rw-r--r--newlib/libc/search/hash.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/newlib/libc/search/hash.c b/newlib/libc/search/hash.c
index c76b157..60fbeb0 100644
--- a/newlib/libc/search/hash.c
+++ b/newlib/libc/search/hash.c
@@ -43,6 +43,7 @@ static char sccsid[] = "@(#)hash.c 8.9 (Berkeley) 6/16/94";
#include <sys/stat.h>
+#include <reent.h>
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>