From: Mike Frysinger <vapier@gentoo.org>
To: linux-numa@vger.kernel.org
Subject: missing sys/stat.h include in shm.c for fstat64()
Date: Fri, 13 Aug 2010 20:10:37 -0400 [thread overview]
Message-ID: <AANLkTimoKLG4R81Ne7HpTuWbBWbW3t24+iKWqU2prUte@mail.gmail.com> (raw)
building on my x86_64 system shows:
shm.c: In function ‘attach_shared’:
shm.c:139:2: warning: implicit declaration of function ‘fstat64’
and that's simply due to sys/stat.h not being included
the homepage doesnt list a git tree or anything, so hand pasting:
--- a/shm.c
+++ b/shm.c
@@ -25,6 +25,7 @@
#include <sys/ipc.h>
#include <sys/shm.h>
#include <sys/fcntl.h>
+#include <sys/stat.h>
#include <stdarg.h>
#include <errno.h>
#include <unistd.h>
-mike
reply other threads:[~2010-08-14 0:10 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=AANLkTimoKLG4R81Ne7HpTuWbBWbW3t24+iKWqU2prUte@mail.gmail.com \
--to=vapier@gentoo.org \
--cc=linux-numa@vger.kernel.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: link
Be 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).