From 6fc2e2900cc68973a05acedf51462281d8fc89c0 Mon Sep 17 00:00:00 2001 From: Tracy Di Marco White Date: Fri, 6 Aug 2004 22:48:28 +0000 Subject: [PATCH] netbsd-20-update-20040806 make it compile with current netbsd --- src/afsmonitor/afsmonitor.c | 2 +- src/config/param.nbsd20.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/afsmonitor/afsmonitor.c b/src/afsmonitor/afsmonitor.c index c0ae488ce2..dc470d2258 100644 --- a/src/afsmonitor/afsmonitor.c +++ b/src/afsmonitor/afsmonitor.c @@ -277,7 +277,7 @@ extern char *cm_categories[]; /* cache manager data category names */ -#if !defined(AFS_FBSD_ENV) && !defined(AFS_DARWIN70_ENV) +#if !defined(AFS_FBSD_ENV) && !defined(AFS_DARWIN70_ENV) && !defined(AFS_NBSD20_ENV) /* strcasestr(): Return first occurence of pattern s2 in s1, case insensitive. diff --git a/src/config/param.nbsd20.h b/src/config/param.nbsd20.h index 7397d50f59..fed9173d69 100644 --- a/src/config/param.nbsd20.h +++ b/src/config/param.nbsd20.h @@ -53,7 +53,7 @@ #endif #define AFS_HAVE_FFS 1 /* Use system's ffs. */ -#define AFS_HAVE_STATVFS 1 /* System supports statvfs */ +#define AFS_HAVE_STATVFS 0 /* System supports statvfs */ #define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */ #define AFS_USE_GETTIMEOFDAY 1 /* use gettimeofday to implement rx clock */