summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse <jasper@humppa.nl>2011-06-16 13:14:22 +0200
committerJasper Lievisse Adriaanse <jasper@humppa.nl>2011-06-16 13:14:22 +0200
commit62239cfe50e7f453300e95124234a61a1f86adf7 (patch)
tree4f994e6981d9f9ddae2b0620381a988e6950c4f3
parent15ffb2d039b43f1bd73f766741c11d8e7d2905d0 (diff)
downloadlibgtop-62239cfe50e7f453300e95124234a61a1f86adf7.tar.gz
Explain why we undef STAT_STATVFS on OpenBSD
-rw-r--r--sysdeps/openbsd/fsusage.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/openbsd/fsusage.c b/sysdeps/openbsd/fsusage.c
index 5ffc4333..9015f9fa 100644
--- a/sysdeps/openbsd/fsusage.c
+++ b/sysdeps/openbsd/fsusage.c
@@ -2,6 +2,11 @@
#include <config.h>
+/*
+ * statvfs is lacking various members which are present in statfs,
+ * like f_(a)syncreads and f_(a)syncwrites. So eventhough we have
+ * statvfs, undef it here untill those members are added.
+ */
#undef HAVE_SYS_STATVFS_H
#undef STAT_STATVFS