git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42f5c0a
)
mount.cifs: directly include sys/stat.h in mtab.c
author
Jeff Layton
<jlayton@redhat.com>
Tue, 26 Jan 2010 13:45:53 +0000
(08:45 -0500)
committer
Karolin Seeger
<kseeger@samba.org>
Thu, 6 May 2010 12:16:02 +0000
(14:16 +0200)
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>
(cherry picked from commit
fa722e20c9f5712571f9009afed8c4e44ac11cdc
)
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>