summaryrefslogtreecommitdiff
path: root/buildlib/statvfs.h.in
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:55:32 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:55:32 +0000
commitb819effdc984e492bbce459faa7432931ccfeb58 (patch)
tree3e99081e2974d317068086a40a8549f4e6c995c0 /buildlib/statvfs.h.in
parent1ae93c94429de697fb17f7067367fbf32fd3b6fc (diff)
OpenBSD fixes
Author: jgg Date: 1999-12-11 02:11:10 GMT OpenBSD fixes
Diffstat (limited to 'buildlib/statvfs.h.in')
-rw-r--r--buildlib/statvfs.h.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/buildlib/statvfs.h.in b/buildlib/statvfs.h.in
index 86b8c52cd..d0ec238ad 100644
--- a/buildlib/statvfs.h.in
+++ b/buildlib/statvfs.h.in
@@ -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