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 93fbd11..70789bc 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>