mount.cifs: directly include sys/stat.h in mtab.c
authorJeff Layton <jlayton@redhat.com>
Fri, 15 May 2009 18:31:28 +0000 (14:31 -0400)
committerJeff 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

index 93fbd11359b6b89344e416e9583b72f6ea2b2b4b..70789bcb9d87829319c7293bc28c08134f539b92 100644 (file)
@@ -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>