summaryrefslogtreecommitdiffstats
path: root/sys/netipx
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>1998-01-08 23:42:31 +0000
committereivind <eivind@FreeBSD.org>1998-01-08 23:42:31 +0000
commitbcae2312afcaa3b4fd34daac5baa64dbb82f57c5 (patch)
treefea007e0b2375970df63c0905adfbd464aaa0f74 /sys/netipx
parentc40850d5f4e14c6f1d76a0a345e6ba081a4ebd21 (diff)
downloadFreeBSD-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/netipx')
-rw-r--r--sys/netipx/ipx_ip.c7
-rw-r--r--sys/netipx/spx_debug.c3
2 files changed, 8 insertions, 2 deletions
diff --git a/sys/netipx/ipx_ip.c b/sys/netipx/ipx_ip.c
index 822144a..73330a2 100644
--- a/sys/netipx/ipx_ip.c
+++ b/sys/netipx/ipx_ip.c
@@ -33,16 +33,21 @@
*
* @(#)ipx_ip.c
*
- * $Id: ipx_ip.c,v 1.17 1997/12/15 20:31:13 eivind Exp $
+ * $Id: ipx_ip.c,v 1.18 1997/12/21 16:35:12 bde Exp $
*/
/*
* Software interface driver for encapsulating IPX in IP.
*/
+#include "opt_inet.h"
#include "opt_ipx.h"
#ifdef IPXIP
+#ifndef INET
+#error The option IPXIP requires option INET.
+#endif
+
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/malloc.h>
diff --git a/sys/netipx/spx_debug.c b/sys/netipx/spx_debug.c
index 2cc1317..624ea3b 100644
--- a/sys/netipx/spx_debug.c
+++ b/sys/netipx/spx_debug.c
@@ -33,9 +33,10 @@
*
* @(#)spx_debug.c
*
- * $Id: spx_debug.c,v 1.10 1997/06/26 19:36:00 jhay Exp $
+ * $Id: spx_debug.c,v 1.11 1997/10/28 12:24:26 bde Exp $
*/
+#include "opt_inet.h"
#include "opt_tcpdebug.h"
#include <sys/param.h>
OpenPOWER on IntegriCloud