diff options
author | Garrett Wollman <wollman@FreeBSD.org> | 1996-12-11 17:46:33 +0000 |
---|---|---|
committer | Garrett Wollman <wollman@FreeBSD.org> | 1996-12-11 17:46:33 +0000 |
commit | 4963f4cd96d2963c9a6845a6886aa6fcf8995903 (patch) | |
tree | afffdb8da8817ffbf227695ba99763642bfd2137 /sys/netinet/if_ether.h | |
parent | 9e4ccf430ebd9a742797d843de32a24f886e6bcb (diff) | |
download | src-4963f4cd96d2963c9a6845a6886aa6fcf8995903.tar.gz src-4963f4cd96d2963c9a6845a6886aa6fcf8995903.zip |
Include <net/if_arp.h> in the one header that requires it,
<netinet/if_ether.h>, rather than in <net/if.h>, most of whose callers
have no need of it.
Pointed-out-by: bde
Notes
Notes:
svn path=/head/; revision=20330
Diffstat (limited to 'sys/netinet/if_ether.h')
-rw-r--r-- | sys/netinet/if_ether.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/if_ether.h b/sys/netinet/if_ether.h index c4acdfcb9070..64800bd2584d 100644 --- a/sys/netinet/if_ether.h +++ b/sys/netinet/if_ether.h @@ -31,13 +31,14 @@ * SUCH DAMAGE. * * @(#)if_ether.h 8.3 (Berkeley) 5/2/95 - * $Id: if_ether.h,v 1.14 1996/03/23 01:32:30 fenner Exp $ + * $Id: if_ether.h,v 1.15 1996/08/06 21:14:28 phk Exp $ */ #ifndef _NETINET_IF_ETHER_H_ #define _NETINET_IF_ETHER_H_ #include <net/ethernet.h> +#include <net/if_arp.h> #define ETHERTYPE_PUP 0x0200 /* PUP protocol */ #define ETHERTYPE_IP 0x0800 /* IP protocol */ |