git.samba.org
/
mimir
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d800ee5
)
mount.cifs: directly include sys/stat.h in mtab.c
author
Jeff Layton
<jlayton@redhat.com>
Fri, 15 May 2009 18:31:28 +0000
(14:31 -0400)
committer
Jeff Layton
<jlayton@redhat.com>
Fri, 15 May 2009 18:31:28 +0000
(14:31 -0400)
This file is mysteriously getting included when built via the makefile,
but when you try to build mtab.o by hand it fails to build. Directly
include it to remove any ambiguity.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
source3/client/mtab.c
patch
|
blob
|
history
diff --git
a/source3/client/mtab.c
b/source3/client/mtab.c
index 93fbd11359b6b89344e416e9583b72f6ea2b2b4b..70789bcb9d87829319c7293bc28c08134f539b92 100644
(file)
--- a/
source3/client/mtab.c
+++ b/
source3/client/mtab.c
@@
-32,6
+32,7
@@
#include <errno.h>
#include <stdio.h>
#include <sys/time.h>
+#include <sys/stat.h>
#include <time.h>
#include <fcntl.h>
#include <mntent.h>