summaryrefslogtreecommitdiffstats
path: root/sys/net
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/net
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/net')
-rw-r--r--sys/net/if.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/net/if.h b/sys/net/if.h
index 58c2be3..7ee1ae7 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 <net/if_arp.h>
-
#ifdef KERNEL
#define IFAFREE(ifa) \
if ((ifa)->ifa_refcnt <= 0) \
OpenPOWER on IntegriCloud