From: Jeff Layton Date: Tue, 26 Jan 2010 13:45:53 +0000 (-0500) Subject: mount.cifs: directly include sys/stat.h in mtab.c X-Git-Tag: samba-3.4.8~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8efb860f07bd8e52896c01fb6613ff9eb56bf7d1;p=thirdparty%2Fsamba.git 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 (cherry picked from commit fa722e20c9f5712571f9009afed8c4e44ac11cdc) --- 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 #include #include +#include #include #include #include