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/dev/ed/if_ed.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/dev/ed/if_ed.c')
-rw-r--r-- | sys/dev/ed/if_ed.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/ed/if_ed.c b/sys/dev/ed/if_ed.c index 89a577f..3f72f96 100644 --- a/sys/dev/ed/if_ed.c +++ b/sys/dev/ed/if_ed.c @@ -24,7 +24,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: if_ed.c,v 1.128 1997/11/07 08:52:33 phk Exp $ + * $Id: if_ed.c,v 1.129 1997/11/20 15:48:27 nate Exp $ */ /* @@ -39,6 +39,7 @@ #include "ed.h" #include "bpfilter.h" +#include "opt_inet.h" #include <sys/param.h> #include <sys/systm.h> @@ -49,13 +50,14 @@ #include <sys/socket.h> #include <sys/syslog.h> +#include <net/ethernet.h> #include <net/if.h> +#include <net/if_arp.h> #include <net/if_dl.h> #include <net/if_mib.h> #ifdef INET #include <netinet/in.h> -#include <netinet/if_ether.h> #endif #ifdef NS |