summaryrefslogtreecommitdiff
path: root/CMake
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2016-08-09 17:39:25 +0200
committerJulian Andres Klode <jak@debian.org>2016-08-10 16:17:19 +0200
commitfa1b5d86bf5ba20047774014b422e7c30ee13a9c (patch)
treeccf01c21f8a9a09e872f980989afc1a78da4f5da /CMake
parentfb0f82b2fe402cc8e8cb811413ea5d3f87ed9802 (diff)
Add statvfs.h.in to CMake directory
Gbp-Dch: ignore
Diffstat (limited to 'CMake')
-rw-r--r--CMake/statvfs.h.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/CMake/statvfs.h.in b/CMake/statvfs.h.in
new file mode 100644
index 000000000..d0ec238ad
--- /dev/null
+++ b/CMake/statvfs.h.in
@@ -0,0 +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