missing sys/stat.h include in shm.c for fstat64()
Mike Frysinger <[email protected]>
| Newsgroups | org.kernel.vger.linux-numa |
|---|---|
| Message-ID | <[email protected]> |
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