$NetBSD: patch-ag,v 1.1.1.1 2002/01/03 10:58:57 agc Exp $ --- src/fstools/fs_tools.h 2002/01/03 09:46:02 1.1 +++ src/fstools/fs_tools.h 2002/01/03 09:47:01 @@ -201,6 +201,26 @@ #ifndef isset /* NIH */ #define isset(a,i) ((a)[(i)/NBBY] & (1<<((i)%NBBY))) #endif +#endif + +#if defined(NETBSD1) +#define SUPPORTED +#define HAVE_UFS_FFS +#include +#include +#include +#include +#include +#define LSEEK lseek +#define OFF_T off_t +#define STRTOUL strtoul +#define itod(fs,i) ino_to_fsba(fs,i) +#define itoo(fs,i) ino_to_fsbo(fs,i) +#define INOTIME(t) (t) +#define DADDR_T daddr_t +#define UFS_TYPE "ufs" +#define DEF_FSTYPE UFS_TYPE +#define INO_TO_CG ino_to_cg #endif /*