aboutsummaryrefslogtreecommitdiff
path: root/sys/net/if_ppp.c
diff options
context:
space:
mode:
authorEivind Eklund <eivind@FreeBSD.org>1998-01-08 23:42:31 +0000
committerEivind Eklund <eivind@FreeBSD.org>1998-01-08 23:42:31 +0000
commit1d5e9e2255b72657dba67926ac2c254fd2156698 (patch)
tree13ea282d9bdb0c5cac926cf5b20b310b41db6e81 /sys/net/if_ppp.c
parent89d224d4156fa88b8c9b8e1d88a679756b0fdd99 (diff)
downloadsrc-1d5e9e2255b72657dba67926ac2c254fd2156698.tar.gz
src-1d5e9e2255b72657dba67926ac2c254fd2156698.zip
Make INET a proper option.
This will not make any of object files that LINT create change; there might be differences with INET disabled, but hardly anything compiled before without INET anyway. Now the 'obvious' things will give a proper error if compiled without inet - ipx_ip, ipfw, tcp_debug. The only thing that _should_ work (but can't be made to compile reasonably easily) is sppp :-( This commit move struct arpcom from <netinet/if_ether.h> to <net/if_arp.h>.
Notes
Notes: svn path=/head/; revision=32350
Diffstat (limited to 'sys/net/if_ppp.c')
-rw-r--r--sys/net/if_ppp.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/net/if_ppp.c b/sys/net/if_ppp.c
index 0af8caac9d13..548480c582dc 100644
--- a/sys/net/if_ppp.c
+++ b/sys/net/if_ppp.c
@@ -69,17 +69,20 @@
* Paul Mackerras (paulus@cs.anu.edu.au).
*/
-/* $Id: if_ppp.c,v 1.51 1997/12/06 13:24:25 bde Exp $ */
+/* $Id: if_ppp.c,v 1.52 1997/12/15 20:31:04 eivind Exp $ */
/* from if_sl.c,v 1.11 84/10/04 12:54:47 rick Exp */
/* from NetBSD: if_ppp.c,v 1.15.2.2 1994/07/28 05:17:58 cgd Exp */
#include "ppp.h"
#if NPPP > 0
-#include "opt_ppp.h"
+#include "opt_inet.h"
#include "opt_ipx.h"
+#include "opt_ppp.h"
+#ifdef INET
#define VJC
+#endif
#define PPP_COMPRESS
#include <sys/param.h>