public inbox for newlib-cvs@sourceware.org help / color / mirror / Atom feed
From: Ken Brown <kbrown@sourceware.org> To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] hash.c: #include <reent.h> Date: Fri, 26 Jul 2019 17:06:00 -0000 [thread overview] Message-ID: <20190726170657.104084.qmail@sourceware.org> (raw) 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>
reply other threads:[~2019-07-26 17:06 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20190726170657.104084.qmail@sourceware.org \ --to=kbrown@sourceware.org \ --cc=newlib-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).