$NetBSD: patch-ac,v 1.2 2007/09/11 09:23:55 bjs Exp $ --- cache.h.orig 2007-09-02 01:57:44.000000000 -0400 +++ cache.h @@ -6,7 +6,7 @@ #include SHA1_HEADER #include -#if ZLIB_VERNUM < 0x1200 +#if ZLIB_VERNUM < 0x1200 || !defined(deflateBound) #define deflateBound(c,s) ((s) + (((s) + 7) >> 3) + (((s) + 63) >> 6) + 11) #endif