X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=modules%2Fppp_comp.c;h=5336e770dabaebc461a4a5ffdc4cd0b7569fd13f;hp=4c261e7931146e6561447bb3efce867ff9ee502f;hb=4db96bebf27071a12b82ce855703c2d0303e54f8;hpb=9d0012df9e0bbd3945de42842f38950a8426c518;ds=inline diff --git a/modules/ppp_comp.c b/modules/ppp_comp.c index 4c261e7..5336e77 100644 --- a/modules/ppp_comp.c +++ b/modules/ppp_comp.c @@ -24,7 +24,7 @@ * OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, * OR MODIFICATIONS. * - * $Id: ppp_comp.c,v 1.5 1996/08/28 06:36:30 paulus Exp $ + * $Id: ppp_comp.c,v 1.6 1996/09/14 05:19:18 paulus Exp $ */ /* @@ -91,6 +91,10 @@ static struct qinit w_init = { ppp_comp_wput, ppp_comp_wsrv, NULL, NULL, NULL, &minfo, NULL }; +#if defined(SVR4) && !defined(SOL2) +int pcmpdevflag = 0; +#define ppp_compinfo pcmpinfo +#endif struct streamtab ppp_compinfo = { &r_init, &w_init, NULL, NULL }; @@ -148,8 +152,12 @@ extern task_t first_task; * List of compressors we know about. */ +#if DO_BSD_COMPRESS extern struct compressor ppp_bsd_compress; +#endif +#if DO_DEFLATE extern struct compressor ppp_deflate; +#endif struct compressor *ppp_compressors[] = { #if DO_BSD_COMPRESS