Code

src/utils_mount.c: Fix defines so `cu_mount_getlist' works under Solaris.
authorFlorian Forster <octo@huhu.verplant.org>
Fri, 9 Feb 2007 16:39:01 +0000 (17:39 +0100)
committerFlorian Forster <octo@huhu.verplant.org>
Fri, 9 Feb 2007 16:39:01 +0000 (17:39 +0100)
src/utils_mount.c

index a02e5690d8a65a7dd4c71d44530a8766fdc43580..7748c610bc871faf99a2f75a30f6db99e6c6fbbb 100644 (file)
@@ -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