]> git.ozlabs.org Git - ppp.git/blobdiff - aix4/ppp_comp.c
Initial revision
[ppp.git] / aix4 / ppp_comp.c
index 8ce40307ae9ec98ec97220b30aaa0b0cc5dbcc59..ac75cf5a6d79dbf1cd93b7b45ed9ed7babf854dc 100644 (file)
@@ -24,7 +24,7 @@
  * OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS,
  * OR MODIFICATIONS.
  *
- * $Id: ppp_comp.c,v 1.3 1995/04/26 04:15:48 paulus Exp $
+ * $Id: ppp_comp.c,v 1.5 1995/05/01 01:42:38 paulus Exp $
  */
 
 #include <net/net_globals.h>
@@ -86,7 +86,9 @@ struct ppp_comp_state {
 extern struct compressor ppp_bsd_compress;
 
 struct compressor *ppp_compressors[] = {
+#if DO_BSD_COMPRESS
     &ppp_bsd_compress,
+#endif
     NULL
 };
 
@@ -428,7 +430,7 @@ ppp_comp_ccp(q, mp, rcvd)
                if (cp->xstate != NULL
                    && (*cp->xcomp->comp_init)
                        (cp->xstate, dp + CCP_HDRLEN, clen - CCP_HDRLEN,
-                        0, /* XXX: should be unit */
+                        0, /* XXX: should be unit */ 0,
                         cp->debug))
                    cp->ccp_state |= CCP_COMP_RUN;
            } else {