3 Extend hints/bsd.h to define NETBSD_LIBQUOTA and include <quota.h> on
6 --- hints/bsd.h.orig 2007-11-24 14:49:43.000000000 +0100
7 +++ hints/bsd.h 2012-05-14 15:52:47.000000000 +0200
9 * and Jon Schewe <schewe@tcfreenet.org>
10 * NetBSD mods and merge of *BSD-related hints provided by
11 * Jaromir Dolecek <jdolecek@NetBSD.org>
12 + * NetBSD libquota mods by David Holland <dholland@netbsd.org>
15 /* See hints/none.h for a complete list of options with explanations */
17 #include <sys/param.h>
18 #include <sys/mount.h>
21 +#if defined(__NetBSD__) && __NetBSD_Version__ >= 599004800 && __NetBSD_Version__ < 599005900
22 +#error "NetBSD 5.99 proplib-based quotas not supported"
25 +#if defined(__NetBSD__) && (__NetBSD_Version__ >= 599005900) /* NetBSD 5.99.59 */
27 +/* struct qblk needed for the way the XS handles NFS quota */
28 +#include <ufs/ufs/quota1.h>
29 +#define NETBSD_LIBQUOTA
31 #include <ufs/ufs/quota.h>
34 #if defined(__NetBSD__) && (__NetBSD_Version__ >= 299000900) /* NetBSD 2.99.9 */
35 /* NetBSD 3.0 has no statfs anymore */