summaryrefslogtreecommitdiffstats
path: root/sys/net/if_fddisubr.c
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/net/if_fddisubr.c
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/net/if_fddisubr.c')
-rw-r--r--sys/net/if_fddisubr.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/net/if_fddisubr.c b/sys/net/if_fddisubr.c
index a5e3809..dca0ad0 100644
--- a/sys/net/if_fddisubr.c
+++ b/sys/net/if_fddisubr.c
@@ -33,9 +33,10 @@
* SUCH DAMAGE.
*
* from: if_ethersubr.c,v 1.5 1994/12/13 22:31:45 wollman Exp
- * $Id: if_fddisubr.c,v 1.22 1997/11/18 13:37:56 bde Exp $
+ * $Id: if_fddisubr.c,v 1.23 1997/12/15 20:31:01 eivind Exp $
*/
+#include "opt_inet.h"
#include "opt_ipx.h"
#include <sys/param.h>
@@ -54,8 +55,10 @@
#ifdef INET
#include <netinet/in.h>
#include <netinet/in_var.h>
-#endif
#include <netinet/if_ether.h>
+#endif
+#include <net/ethernet.h> /* XXX We probably should be able to drop this */
+#include <net/if_arp.h>
#if defined(__FreeBSD__)
#include <netinet/if_fddi.h>
#else
OpenPOWER on IntegriCloud