$NetBSD: patch-ag,v 1.1.1.1 2007/04/17 10:16:53 jnemeth Exp $

--- include/sm/conf.h.orig	2006-01-27 18:43:44.000000000 +0000
+++ include/sm/conf.h
@@ -801,7 +801,11 @@ extern unsigned int sleepX __P((unsigned
 #  ifndef LA_TYPE
 #   define LA_TYPE	LA_SUBR
 #  endif /* ! LA_TYPE */
+#if defined(__NetBSD__) && (__NetBSD_Version__ > 299000900)
+#  define SFS_TYPE	SFS_STATVFS     /* use <sys/statvfs.h> statfs() impl */
+#else
 #  define SFS_TYPE	SFS_MOUNT	/* use <sys/mount.h> statfs() impl */
+#endif
 #  define SPT_TYPE	SPT_PSSTRINGS	/* use PS_STRINGS pointer */
 # endif /* defined(BSD4_4) && !defined(__bsdi__) && !defined(__GNU__) && !defined(DARWIN)*/
 
