* [PATCH] hash.c: #include <reent.h>
@ 2019-07-26 14:20 Ken Brown
2019-07-26 15:11 ` Corinna Vinschen
0 siblings, 1 reply; 2+ messages in thread
From: Ken Brown @ 2019-07-26 14:20 UTC (permalink / raw)
To: newlib
This is needed for the prototypes of _stat64 and _fstat64 on Cygwin.
Fixes: commit 279805b2 "hash functions: use reentrant stat functions".
---
newlib/libc/search/hash.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/newlib/libc/search/hash.c b/newlib/libc/search/hash.c
index c76b157b3..60fbeb0fd 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>
--
2.21.0
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-07-26 15:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-26 14:20 [PATCH] hash.c: #include <reent.h> Ken Brown
2019-07-26 15:11 ` Corinna Vinschen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).