1 $NetBSD: patch-bc,v 1.2 2011/08/30 10:43:11 christos Exp $
3 --- quota.c.orig 2006-10-16 03:30:53.000000000 +0300
4 +++ quota.c 2011-08-30 12:49:51.000000000 +0300
9 -#if defined(SUNOS4) || defined(FREEBSD)
10 +#if defined(SUNOS4) || defined(ALLBSD)
13 #include <ufs/quota.h>
18 #include <ufs/ufs/quota.h>
20 +#include <sys/param.h>
21 +#if __NetBSD_Version__ >= 599004700
22 +#include <ufs/ufs/quota1.h>
27 static const struct xlat quotacmds[] = {
30 printstr(tcp, tcp->u_arg[1], -1);
34 printpath(tcp, tcp->u_arg[0]);
36 printxval(quotacmds, tcp->u_arg[1], "Q_???");
41 -#endif /* SUNOS4 || FREEBSD */
42 +#endif /* SUNOS4 || ALLBSD */