public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] hash.c: #include <reent.h>
@ 2019-07-26 17:06 Ken Brown
  0 siblings, 0 replies; only message in thread
From: Ken Brown @ 2019-07-26 17:06 UTC (permalink / raw)
  To: newlib-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=dea3d8c73e0c38043b7c839cc7d2431f51a03e16

commit dea3d8c73e0c38043b7c839cc7d2431f51a03e16
Author: Ken Brown <kbrown@cornell.edu>
Date:   Fri Jul 26 10:09:23 2019 -0400

    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".

Diff:
---
 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 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>


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-07-26 17:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-26 17:06 [newlib-cygwin] hash.c: #include <reent.h> Ken Brown

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).