summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>1996-09-14 05:19:18 +0000
committerPaul Mackerras <paulus@samba.org>1996-09-14 05:19:18 +0000
commit4db96bebf27071a12b82ce855703c2d0303e54f8 (patch)
treec41adfcf216f8be6f7b21b25436574aed7febe91
parent9d0012df9e0bbd3945de42842f38950a8426c518 (diff)
downloadppp-4db96bebf27071a12b82ce855703c2d0303e54f8.tar.gz
fixes for SVR4
-rw-r--r--modules/ppp_ahdlc.c6
-rw-r--r--modules/ppp_comp.c10
2 files changed, 14 insertions, 2 deletions
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