linux-numa.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* missing sys/stat.h include in shm.c for fstat64()
@ 2010-08-14  0:10 Mike Frysinger
  0 siblings, 0 replies; only message in thread
From: Mike Frysinger @ 2010-08-14  0:10 UTC (permalink / raw)
  To: linux-numa

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

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

only message in thread, other threads:[~2010-08-14  0:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-14  0:10 missing sys/stat.h include in shm.c for fstat64() Mike Frysinger

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 NNTP newsgroup(s).