--- mtpfs.h.orig	2012-02-26 18:08:49.000000000 -0500
+++ mtpfs.h	2012-02-26 18:09:01.000000000 -0500
@@ -18,7 +18,8 @@
 #include <fcntl.h>
 #include <dirent.h>
 #include <errno.h>
-#include <sys/statfs.h>
+#include <sys/param.h>
+#include <sys/mount.h>
 
 #include <libmtp.h>
 #include <glib.h>
