]> git.saurik.com Git - apt.git/blobdiff - buildlib/statvfs.h.in
apt-pkg/acquire-item.cc: fixed my incorrect use of flExtension
[apt.git] / buildlib / statvfs.h.in
index 86b8c52cdb0b4073c098c24e2138e7d54c527b0b..d0ec238ad570c92a94da923dd1ccb123728d32c8 100644 (file)
@@ -1,4 +1,13 @@
 /* Compatibility for systems with out Single Unix Spec statvfs */
+#include <config.h>
+
+#ifdef HAVE_VFS_H
 #include <sys/vfs.h>
+#endif
+
+#ifdef HAVE_MOUNT_H
+#include <sys/param.h>
+#include <sys/mount.h>
+#endif
 
 #define statvfs statfs