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/i386/isa/if_sr.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/i386/isa/if_sr.c')
-rw-r--r-- | sys/i386/isa/if_sr.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/i386/isa/if_sr.c b/sys/i386/isa/if_sr.c index 604632f..c27467a 100644 --- a/sys/i386/isa/if_sr.c +++ b/sys/i386/isa/if_sr.c @@ -27,7 +27,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: if_sr.c,v 1.8 1997/07/20 14:10:01 bde Exp $ + * $Id: if_sr.c,v 1.9 1997/09/02 01:18:16 bde Exp $ */ /* @@ -55,6 +55,11 @@ #endif #include "bpfilter.h" +#include "sppp.h" +#if NSPPP <= 0 +#error Device 'sr' requires sppp. +#endif + #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> |