diff options
author | Jasper Lievisse Adriaanse <jasper@humppa.nl> | 2011-06-16 13:14:22 +0200 |
---|---|---|
committer | Jasper Lievisse Adriaanse <jasper@humppa.nl> | 2011-06-16 13:14:22 +0200 |
commit | 62239cfe50e7f453300e95124234a61a1f86adf7 (patch) | |
tree | 4f994e6981d9f9ddae2b0620381a988e6950c4f3 | |
parent | 15ffb2d039b43f1bd73f766741c11d8e7d2905d0 (diff) | |
download | libgtop-62239cfe50e7f453300e95124234a61a1f86adf7.tar.gz |
Explain why we undef STAT_STATVFS on OpenBSD
-rw-r--r-- | sysdeps/openbsd/fsusage.c | 5 |
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 |