From: Paul Mackerras Date: Sat, 14 Sep 1996 05:19:18 +0000 (+0000) Subject: fixes for SVR4 X-Git-Tag: RELEASE_2_3_6~322 X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=commitdiff_plain;h=4db96bebf27071a12b82ce855703c2d0303e54f8 fixes for SVR4 --- diff --git a/modules/ppp_ahdlc.c b/modules/ppp_ahdlc.c index a52e156..208f1d6 100644 --- a/modules/ppp_ahdlc.c +++ b/modules/ppp_ahdlc.c @@ -24,7 +24,7 @@ * OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, * OR MODIFICATIONS. * - * $Id: ppp_ahdlc.c,v 1.3 1996/08/28 06:35:50 paulus Exp $ + * $Id: ppp_ahdlc.c,v 1.4 1996/09/14 05:19:18 paulus Exp $ */ /* @@ -79,6 +79,10 @@ static struct qinit winit = { ahdlc_wput, NULL, NULL, NULL, NULL, &minfo, NULL }; +#if defined(SVR4) && !defined(SOL2) +int phdldevflag = 0; +#define ppp_ahdlcinfo phdlinfo +#endif struct streamtab ppp_ahdlcinfo = { &rinit, &winit, NULL, NULL }; 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