From d376f961fd57abaf8319b69d15f270333a0b1a12 Mon Sep 17 00:00:00 2001 From: cgd Date: Fri, 27 Mar 1998 01:10:43 +0000 Subject: [PATCH] if _STANDALONE or _KERNEL, don't include standard headers and pull in libkern.h instead. (That doesn't even appear to be necessary, but it's the 'standard' thing to do.) --- lib/libz/zutil.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/lib/libz/zutil.h b/lib/libz/zutil.h index 8ec6d2215e62..92e75416b4e3 100644 --- a/lib/libz/zutil.h +++ b/lib/libz/zutil.h @@ -1,4 +1,4 @@ -/* $NetBSD: zutil.h,v 1.3 1997/05/13 23:06:36 gwr Exp $ */ +/* $NetBSD: zutil.h,v 1.4 1998/03/27 01:10:43 cgd Exp $ */ /* zutil.h -- internal interface and configuration of the compression library * Copyright (C) 1995-1996 Jean-loup Gailly. @@ -17,6 +17,13 @@ #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 + #if defined(MSDOS)||defined(VMS)||defined(CRAY)||defined(WIN32)||defined(RISCOS) # include # include @@ -28,6 +35,8 @@ # include #endif +#endif /* __NetBSD__ && _STANDALONE */ + #ifndef local # define local static #endif