]> git.ozlabs.org Git - ppp.git/blobdiff - common/zlib.h
get around FreeBSD already having an inflate()
[ppp.git] / common / zlib.h
index 9ce824fd8fcc19db12def2375b6e282669005b3a..36cb5150e988b97aebe91d0408a1e1c1579c0bfc 100644 (file)
@@ -1,4 +1,4 @@
-/*     $Id: zlib.h,v 1.3 1996/09/26 06:29:53 paulus Exp $      */
+/*     $Id: zlib.h,v 1.4 1997/03/04 03:26:36 paulus Exp $      */
 
 /*
  * This file is derived from zlib.h and zconf.h from the zlib-0.95
@@ -377,6 +377,10 @@ extern int inflateInit OF((z_stream *strm));
 */
 
 
+#if defined(__FreeBSD__) && (defined(KERNEL) || defined(_KERNEL))
+#define inflate        inflate_ppp     /* FreeBSD already has an inflate :-( */
+#endif
+
 extern int inflate OF((z_stream *strm, int flush));
 /*
   Performs one or both of the following actions: