summaryrefslogtreecommitdiff
path: root/Utility/libmounts.h
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-07-19 20:44:58 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-07-19 20:44:58 -0400
commitf768cddf3a7048334f76fff1a2c895b33fea18af (patch)
tree77563e51c0f9dd21420a29a6833ac994c8967509 /Utility/libmounts.h
parent107a7b9388077a2b7fe9ce107da3a4a5fa396e2e (diff)
fix build on OSX
Diffstat (limited to 'Utility/libmounts.h')
-rw-r--r--Utility/libmounts.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/Utility/libmounts.h b/Utility/libmounts.h
index 0bd52e323..12f5564b5 100644
--- a/Utility/libmounts.h
+++ b/Utility/libmounts.h
@@ -27,12 +27,9 @@
#endif
#endif
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <fcntl.h>
+#include <stdio.h>
#ifndef GETMNTENT
-#warning "boo"
struct mntent {
char *mnt_fsname;
char *mnt_dir;