From 4963f4cd96d2963c9a6845a6886aa6fcf8995903 Mon Sep 17 00:00:00 2001 From: Garrett Wollman Date: Wed, 11 Dec 1996 17:46:33 +0000 Subject: [PATCH] Include in the one header that requires it, , rather than in , most of whose callers have no need of it. Pointed-out-by: bde --- sys/net/if.h | 4 +--- sys/netinet/if_ether.h | 3 ++- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/sys/net/if.h b/sys/net/if.h index 58c2be35f54b..7ee1ae72e327 100644 --- a/sys/net/if.h +++ b/sys/net/if.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)if.h 8.1 (Berkeley) 6/10/93 - * $Id: if.h,v 1.37 1996/12/10 07:29:47 davidg Exp $ + * $Id: if.h,v 1.38 1996/12/10 18:03:51 wollman Exp $ */ #ifndef _NET_IF_H_ @@ -395,8 +395,6 @@ struct ifconf { #define ifc_req ifc_ifcu.ifcu_req /* array of structures returned */ }; -#include - #ifdef KERNEL #define IFAFREE(ifa) \ if ((ifa)->ifa_refcnt <= 0) \ 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 +#include #define ETHERTYPE_PUP 0x0200 /* PUP protocol */ #define ETHERTYPE_IP 0x0800 /* IP protocol */