]> git.ozlabs.org Git - ppp.git/commitdiff
define DO_BSD_COMPRESS
authorPaul Mackerras <paulus@samba.org>
Mon, 1 May 1995 01:43:37 +0000 (01:43 +0000)
committerPaul Mackerras <paulus@samba.org>
Mon, 1 May 1995 01:43:37 +0000 (01:43 +0000)
include/net/ppp-comp.h

index b97ff3cb4b98fd447255949059c0fa0ee9b0c290..e2579f85702acd42b78b8a533c8eae2581eb6d15 100644 (file)
  * OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS,
  * OR MODIFICATIONS.
  *
  * OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS,
  * OR MODIFICATIONS.
  *
- * $Id: ppp-comp.h,v 1.6 1995/04/24 02:41:37 paulus Exp $
+ * $Id: ppp-comp.h,v 1.7 1995/05/01 01:43:37 paulus Exp $
  */
 
 #ifndef _NET_PPP_COMP_H
 #define _NET_PPP_COMP_H
 
  */
 
 #ifndef _NET_PPP_COMP_H
 #define _NET_PPP_COMP_H
 
-#ifdef PACKETPTR
+/*
+ * The following symbols control whether we include code for
+ * various compression methods.
+ */
+#ifndef DO_BSD_COMPRESS
+#define DO_BSD_COMPRESS        1       /* by default, include BSD-Compress */
+#endif
+
 /*
  * Structure giving methods for compression/decompression.
  */
 /*
  * Structure giving methods for compression/decompression.
  */
+#ifdef PACKETPTR
 struct compressor {
        int     compress_proto; /* CCP compression protocol number */
 
 struct compressor {
        int     compress_proto; /* CCP compression protocol number */