$NetBSD: patch-ag,v 1.13 2007/04/26 06:26:27 jnemeth Exp $ --- include/sm/conf.h.orig 2007-03-21 16:56:18.000000000 -0700 +++ include/sm/conf.h @@ -806,7 +806,11 @@ extern unsigned int sleepX __P((unsigned # ifndef LA_TYPE # define LA_TYPE LA_SUBR # endif /* ! LA_TYPE */ -# define SFS_TYPE SFS_MOUNT /* use statfs() impl */ +# if defined(__NetBSD__) && (__NetBSD_Version__ > 299000900) +# define SFS_TYPE SFS_STATVFS /* use statfs() impl */ +# else +# define SFS_TYPE SFS_MOUNT /* use statfs() impl */ +# endif # define SPT_TYPE SPT_PSSTRINGS /* use PS_STRINGS pointer */ # endif /* defined(BSD4_4) && !defined(__bsdi__) && !defined(__GNU__) && !defined(DARWIN)*/