summaryrefslogtreecommitdiffstats
path: root/sys/netinet/if_ether.h
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1996-12-11 17:46:33 +0000
committerwollman <wollman@FreeBSD.org>1996-12-11 17:46:33 +0000
commite1e9e3aa19b00c35016cddf8a23e2b7fc0d9f4e0 (patch)
treeafffdb8da8817ffbf227695ba99763642bfd2137 /sys/netinet/if_ether.h
parent35458b6b2f1e7ac5037c378f8be1c43db030ff3b (diff)
downloadFreeBSD-src-e1e9e3aa19b00c35016cddf8a23e2b7fc0d9f4e0.zip
FreeBSD-src-e1e9e3aa19b00c35016cddf8a23e2b7fc0d9f4e0.tar.gz
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
Diffstat (limited to 'sys/netinet/if_ether.h')
-rw-r--r--sys/netinet/if_ether.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/if_ether.h b/sys/netinet/if_ether.h
index c4acdfc..64800bd 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 */
OpenPOWER on IntegriCloud