summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2010-01-26 08:45:53 -0500
committerKarolin Seeger <kseeger@samba.org>2010-05-06 14:16:02 +0200
commit8efb860f07bd8e52896c01fb6613ff9eb56bf7d1 (patch)
tree3c1f3d74dd9cdadd06eede35d196931abb45a4aa /source3
parent42f5c0ad79c1122e1fef2875f2e0a277bf86e97b (diff)
downloadsamba-8efb860f07bd8e52896c01fb6613ff9eb56bf7d1.tar.gz
mount.cifs: directly include sys/stat.h in mtab.c
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)
Diffstat (limited to 'source3')
-rw-r--r--source3/client/mtab.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/client/mtab.c b/source3/client/mtab.c
index 93fbd11359b..70789bcb9d8 100644
--- 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>