--- a/source/client/mtab.c
+++ b/source/client/mtab.c
@@ -31,6 +31,8 @@
 #include <unistd.h>
 #include <errno.h>
 #include <stdio.h>
+#include <sys/types.h>
+#include <sys/stat.h>
 #include <sys/time.h>
 #include <time.h>
 #include <fcntl.h>
