4store (1.1.4-2) 1003_Include_sys-statfs.patch

Summary

 src/backend/disk-space.c |    4 ++++
 1 file changed, 4 insertions(+)

    
download this patch

Patch contents

Description: Include sys/statfs instead of sys/mount.h on GNU Hurd
Author: Cyril Roelandt <tipecaml@gmail.com>
Last-Update: 2012-03-17

--- a/src/backend/disk-space.c
+++ b/src/backend/disk-space.c
@@ -20,7 +20,11 @@
 
 #include <4store-config.h>
 #include <sys/param.h>
+#if defined (__GNU__)
+#include <sys/statfs.h>
+#else
 #include <sys/mount.h>
+#endif
 #include <string.h>
 #include <errno.h>
 #include <glib.h>