summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2009-05-15 14:31:28 -0400
committerJeff Layton <jlayton@redhat.com>2009-05-15 14:31:28 -0400
commitb0c399ce6015e8a96231d5e5e99e603d44e0cf57 (patch)
tree4cf7896a5850c9205ade683b7aa34ab39cef2dd7 /source3
parentd800ee50335ecbd2dbd3b451a18a00780ac28f04 (diff)
downloadsamba-b0c399ce6015e8a96231d5e5e99e603d44e0cf57.tar.gz
samba-b0c399ce6015e8a96231d5e5e99e603d44e0cf57.tar.bz2
samba-b0c399ce6015e8a96231d5e5e99e603d44e0cf57.zip
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>
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 93fbd11359..70789bcb9d 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>