aboutsummaryrefslogtreecommitdiff
path: root/sys/net/if_disc.c
diff options
context:
space:
mode:
authorEivind Eklund <eivind@FreeBSD.org>1998-01-08 23:42:31 +0000
committerEivind Eklund <eivind@FreeBSD.org>1998-01-08 23:42:31 +0000
commit1d5e9e2255b72657dba67926ac2c254fd2156698 (patch)
tree13ea282d9bdb0c5cac926cf5b20b310b41db6e81 /sys/net/if_disc.c
parent89d224d4156fa88b8c9b8e1d88a679756b0fdd99 (diff)
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>.
Notes
Notes: svn path=/head/; revision=32350
Diffstat (limited to 'sys/net/if_disc.c')
-rw-r--r--sys/net/if_disc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/if_disc.c b/sys/net/if_disc.c
index 574bc080d288..483ed7766c03 100644
--- a/sys/net/if_disc.c
+++ b/sys/net/if_disc.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* From: @(#)if_loop.c 8.1 (Berkeley) 6/10/93
- * $Id: if_disc.c,v 1.17 1997/03/24 11:33:10 bde Exp $
+ * $Id: if_disc.c,v 1.18 1997/08/02 14:32:36 bde Exp $
*/
/*
@@ -52,6 +52,7 @@
#include <net/bpf.h>
#include "bpfilter.h"
+#include "opt_inet.h"
#ifdef TINY_DSMTU
#define DSMTU (1024+512)