diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/zlib.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/common/zlib.c b/common/zlib.c index 4a518e2..e9dc177 100644 --- a/common/zlib.c +++ b/common/zlib.c @@ -11,7 +11,7 @@ * - added Z_PACKET_FLUSH (see zlib.h for details) * - added inflateIncomp * - * $Id: zlib.c,v 1.3 1996/09/26 06:29:43 paulus Exp $ + * $Id: zlib.c,v 1.4 1996/10/08 04:38:00 paulus Exp $ */ /* @@ -88,12 +88,15 @@ extern char *z_errmsg[]; /* indexed by 1-zlib_error */ /* functions */ #if defined(KERNEL) || defined(_KERNEL) -/* Assume we're not being compiled under Linux */ #include <sys/types.h> #include <sys/systm.h> # define zmemcpy(d, s, n) bcopy((s), (d), (n)) # define zmemzero bzero +#ifdef FreeBSD +#define inflate inflate_ppp +#endif + #else #if defined(__KERNEL__) /* Assume this is Linux */ |