$NetBSD: patch-ag,v 1.1.1.1 2005/12/30 23:03:06 agc Exp $ --- libxcmd/paths.c 2005/12/29 16:23:04 1.1 +++ libxcmd/paths.c 2005/12/29 16:25:03 @@ -228,7 +228,11 @@ fs_table_initialise_mounts( char *path) { +#if (defined(__NetBSD__) && (__NetBSD_Version__ >= 299000900)) + struct statvfs *stats; +#else struct statfs *stats; +#endif char *dir = NULL, *fsname = NULL, *fslog = NULL, *fsrt = NULL; int i, count, found = 0, error = 0;