diff options
author | eivind <eivind@FreeBSD.org> | 1998-01-08 23:42:31 +0000 |
---|---|---|
committer | eivind <eivind@FreeBSD.org> | 1998-01-08 23:42:31 +0000 |
commit | bcae2312afcaa3b4fd34daac5baa64dbb82f57c5 (patch) | |
tree | fea007e0b2375970df63c0905adfbd464aaa0f74 /sys/net/if_sl.c | |
parent | c40850d5f4e14c6f1d76a0a345e6ba081a4ebd21 (diff) | |
download | FreeBSD-src-bcae2312afcaa3b4fd34daac5baa64dbb82f57c5.zip FreeBSD-src-bcae2312afcaa3b4fd34daac5baa64dbb82f57c5.tar.gz |
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>.
Diffstat (limited to 'sys/net/if_sl.c')
-rw-r--r-- | sys/net/if_sl.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/net/if_sl.c b/sys/net/if_sl.c index a293970..695627c 100644 --- a/sys/net/if_sl.c +++ b/sys/net/if_sl.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)if_sl.c 8.6 (Berkeley) 2/1/94 - * $Id: if_sl.c,v 1.62 1997/12/06 13:24:31 bde Exp $ + * $Id: if_sl.c,v 1.64 1997/12/19 19:39:01 ache Exp $ */ /* @@ -69,6 +69,7 @@ #if NSL > 0 #include "bpfilter.h" +#include "opt_inet.h" #include <sys/param.h> #include <sys/systm.h> @@ -95,7 +96,7 @@ #include <netinet/in_var.h> #include <netinet/ip.h> #else -Huh? Slip without inet? +#error "Huh? Slip without inet?" #endif #include <net/slcompress.h> |