diff -urN source/client/mtab.c samba-3.2.7//source/client/mtab.c
--- source/client/mtab.c	2008-12-19 13:57:33.000000000 +0000
+++ source/client/mtab.c	2009-01-09 23:14:00.717671075 +0000
@@ -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>
