diff options
author | Eivind Eklund <eivind@FreeBSD.org> | 1998-01-08 23:42:31 +0000 |
---|---|---|
committer | Eivind Eklund <eivind@FreeBSD.org> | 1998-01-08 23:42:31 +0000 |
commit | 1d5e9e2255b72657dba67926ac2c254fd2156698 (patch) | |
tree | 13ea282d9bdb0c5cac926cf5b20b310b41db6e81 /sys/dev/sr | |
parent | 89d224d4156fa88b8c9b8e1d88a679756b0fdd99 (diff) | |
download | src-1d5e9e2255b72657dba67926ac2c254fd2156698.tar.gz src-1d5e9e2255b72657dba67926ac2c254fd2156698.zip |
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/dev/sr')
-rw-r--r-- | sys/dev/sr/if_sr.c | 7 | ||||
-rw-r--r-- | sys/dev/sr/if_sr_isa.c | 7 |
2 files changed, 12 insertions, 2 deletions
diff --git a/sys/dev/sr/if_sr.c b/sys/dev/sr/if_sr.c index 604632f4651e..c27467a3a4e8 100644 --- a/sys/dev/sr/if_sr.c +++ b/sys/dev/sr/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> diff --git a/sys/dev/sr/if_sr_isa.c b/sys/dev/sr/if_sr_isa.c index 604632f4651e..c27467a3a4e8 100644 --- a/sys/dev/sr/if_sr_isa.c +++ b/sys/dev/sr/if_sr_isa.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> |