From: Florian Forster Date: Fri, 9 Feb 2007 16:39:01 +0000 (+0100) Subject: src/utils_mount.c: Fix defines so `cu_mount_getlist' works under Solaris. X-Git-Tag: collectd-3.11.1~6 X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=a9a1677dda729830aa3cf065c73ab4af4d907fca;p=collectd.git src/utils_mount.c: Fix defines so `cu_mount_getlist' works under Solaris. --- diff --git a/src/utils_mount.c b/src/utils_mount.c index a02e5690..7748c610 100644 --- a/src/utils_mount.c +++ b/src/utils_mount.c @@ -638,8 +638,10 @@ cu_mount_t *cu_mount_getlist(cu_mount_t **list) new = cu_mount_listmntent (); #elif HAVE_GETVFSSTAT || HAVE_GETFSSTAT new = cu_mount_getfsstat (); -#elif HAVE_GEN_GETMNTENT +#elif HAVE_TWO_GETMNTENT || HAVE_GEN_GETMNTENT || HAVE_SUN_GETMNTENT new = cu_mount_gen_getmntent (); +#elif HAVE_SEQ_GETMNTENT +# warn "This version of `getmntent' hat not yet been implemented!" #elif HAVE_ONE_GETMNTENT new = cu_mount_getmntent (); #else