From a9a1677dda729830aa3cf065c73ab4af4d907fca Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Fri, 9 Feb 2007 17:39:01 +0100 Subject: [PATCH] src/utils_mount.c: Fix defines so `cu_mount_getlist' works under Solaris. --- src/utils_mount.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.30.2