Index: libgnomevfs/gnome-vfs-unix-mounts.c
===================================================================
RCS file: /cvs/gnome/gnome-vfs/libgnomevfs/gnome-vfs-unix-mounts.c,v
retrieving revision 1.9
diff -u -r1.9 gnome-vfs-unix-mounts.c
--- libgnomevfs/gnome-vfs-unix-mounts.c	14 Feb 2004 13:18:05 -0000	1.9
+++ libgnomevfs/gnome-vfs-unix-mounts.c	3 May 2004 14:37:11 -0000
@@ -411,7 +411,11 @@
 gboolean
 _gnome_vfs_get_current_unix_mounts (GList **return_list)
 {
+#ifdef HAVE_STATVFS
+    	struct statvfs *mntent = NULL;
+#else
     	struct statfs *mntent = NULL;
+#endif
 	int num_mounts, i;
 	GnomeVFSUnixMount *mount_entry;
 
@@ -428,7 +432,11 @@
 		mount_entry->mount_path = g_strdup (mntent[i].f_mntonname);
 		mount_entry->device_path = g_strdup (mntent[i].f_mntfromname);
 		mount_entry->filesystem_type = g_strdup (mntent[i].f_fstypename);
+#ifdef HAVE_STATVFS
+		if (mntent[i].f_flag == MNT_RDONLY) {
+#else
 		if (mntent[i].f_flags == MNT_RDONLY) {
+#endif
 		    	mount_entry->is_read_only = TRUE;
 		}
 
