From c08686ce367e79d24a7823c4b13648370c6b468d Mon Sep 17 00:00:00 2001 From: christos Date: Sat, 14 Jan 2006 20:28:58 +0000 Subject: [PATCH] add NetBSD ifdefs --- common/dist/zlib/zutil.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/common/dist/zlib/zutil.h b/common/dist/zlib/zutil.h index d942b47c99bd..b58659f66681 100644 --- a/common/dist/zlib/zutil.h +++ b/common/dist/zlib/zutil.h @@ -1,4 +1,4 @@ -/* $NetBSD: zutil.h,v 1.1.1.1 2006/01/14 20:10:42 christos Exp $ */ +/* $NetBSD: zutil.h,v 1.2 2006/01/14 20:28:58 christos Exp $ */ /* zutil.h -- internal interface and configuration of the compression library * Copyright (C) 1995-2005 Jean-loup Gailly. @@ -18,6 +18,12 @@ #define ZLIB_INTERNAL #include "zlib.h" +#if defined(__NetBSD__) && (defined(_KERNEL) || defined(_STANDALONE)) + +/* XXX doesn't seem to need anything at all, but this is for consistency. */ +# include + +#else #ifdef STDC # ifndef _WIN32_WCE # include @@ -40,6 +46,7 @@ # include # endif #endif +#endif /* __NetBSD__ && (_KERNEL || _STANDALONE) */ #ifndef local # define local static