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/dev/pdq | |
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/dev/pdq')
-rw-r--r-- | sys/dev/pdq/if_fea.c | 6 | ||||
-rw-r--r-- | sys/dev/pdq/if_fpa.c | 5 | ||||
-rw-r--r-- | sys/dev/pdq/pdq_ifsubr.c | 8 |
3 files changed, 14 insertions, 5 deletions
diff --git a/sys/dev/pdq/if_fea.c b/sys/dev/pdq/if_fea.c index e993a2a..2cf06a0 100644 --- a/sys/dev/pdq/if_fea.c +++ b/sys/dev/pdq/if_fea.c @@ -21,7 +21,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: if_fea.c,v 1.6 1997/09/14 11:28:30 peter Exp $ + * $Id: if_fea.c,v 1.7 1997/09/21 21:35:24 gibbs Exp $ */ /* @@ -30,6 +30,7 @@ * This module support the DEFEA EISA FDDI Controller. */ +#include "opt_inet.h" #include <sys/param.h> #include <sys/kernel.h> @@ -38,11 +39,12 @@ #include <sys/device.h> #endif +#include <net/ethernet.h> #include <net/if.h> +#include <net/if_arp.h> #ifdef INET #include <netinet/in.h> -#include <netinet/if_ether.h> #endif #if defined(__FreeBSD__) diff --git a/sys/dev/pdq/if_fpa.c b/sys/dev/pdq/if_fpa.c index 0dab356..b0b38f0 100644 --- a/sys/dev/pdq/if_fpa.c +++ b/sys/dev/pdq/if_fpa.c @@ -21,7 +21,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: if_fpa.c,v 1.3 1997/03/24 11:24:51 bde Exp $ + * $Id: if_fpa.c,v 1.4 1997/08/02 14:33:10 bde Exp $ * */ @@ -31,6 +31,7 @@ * This module supports the DEC DEFPA PCI FDDI Controller */ +#include "opt_inet.h" #include <sys/param.h> #include <sys/kernel.h> @@ -48,6 +49,8 @@ #if defined(__FreeBSD__) #include "fpa.h" +#include <net/ethernet.h> +#include <net/if_arp.h> #include <pci/pcivar.h> #include <dev/pdq/pdqvar.h> #include <dev/pdq/pdqreg.h> diff --git a/sys/dev/pdq/pdq_ifsubr.c b/sys/dev/pdq/pdq_ifsubr.c index 33a6b7a..9c13a00 100644 --- a/sys/dev/pdq/pdq_ifsubr.c +++ b/sys/dev/pdq/pdq_ifsubr.c @@ -21,7 +21,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: pdq_ifsubr.c,v 1.4 1997/03/24 11:32:26 bde Exp $ + * $Id: pdq_ifsubr.c,v 1.5 1997/06/14 13:56:07 bde Exp $ * */ @@ -33,6 +33,8 @@ */ +#include "opt_inet.h" + #include <sys/param.h> #include <sys/socket.h> #include <sys/sockio.h> @@ -48,11 +50,13 @@ #include <net/bpf.h> #endif +#if defined(__FreeBSD__) +#include <net/ethernet.h> +#include <net/if_arp.h> #ifdef INET #include <netinet/in.h> #include <netinet/if_ether.h> #endif -#if defined(__FreeBSD__) #include <netinet/if_fddi.h> #else #include <net/if_fddi.h> |