$NetBSD: patch-ag,v 1.14 2004/09/23 16:10:07 martti Exp $ --- src/util/sys_defs.h.orig 2004-08-02 00:05:23.000000000 +0300 +++ src/util/sys_defs.h 2004-09-23 19:01:03.000000000 +0300 @@ -128,5 +128,11 @@ #define GETTIMEOFDAY(t) gettimeofday(t,(struct timezone *) 0) +#define RESOLVE_H_NEEDS_NAMESER8_COMPAT_H #define ROOT_PATH "/bin:/usr/bin:/sbin:/usr/sbin" +#if (defined(__NetBSD__) && __NetBSD_Version__ >= 200040000) /* NetBSD 2.0D */ +#define USE_STATVFS +#define STATVFS_IN_SYS_STATVFS_H +#else #define USE_STATFS #define STATFS_IN_SYS_MOUNT_H +#endif #define HAS_POSIX_REGEXP