From bcae2312afcaa3b4fd34daac5baa64dbb82f57c5 Mon Sep 17 00:00:00 2001 From: eivind Date: Thu, 8 Jan 1998 23:42:31 +0000 Subject: 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 to . --- sys/i386/isa/if_lnc.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sys/i386/isa/if_lnc.c') diff --git a/sys/i386/isa/if_lnc.c b/sys/i386/isa/if_lnc.c index 24df453..71d9934 100644 --- a/sys/i386/isa/if_lnc.c +++ b/sys/i386/isa/if_lnc.c @@ -65,6 +65,7 @@ #if NLNC > 0 #include "bpfilter.h" +#include "opt_inet.h" /* Some defines that should really be in generic locations */ #define FCS_LEN 4 @@ -79,7 +80,9 @@ #include #include +#include #include +#include #include #ifdef INET #include @@ -96,7 +99,7 @@ #include struct lnc_softc { - struct arpcom arpcom; /* see ../../netinet/if_ether.h */ + struct arpcom arpcom; /* see ../../net/if_arp.h */ struct nic_info nic; /* NIC specific info */ int nrdre; struct host_ring_entry *recv_ring; /* start of alloc'd mem */ -- cgit v1.1