git: e9167358e402 - main - net: make if_bridgevar.h self-contained

From: Kristof Provost <kp_at_FreeBSD.org>
Date: Fri, 17 Dec 2021 11:39:01 UTC
The branch main has been updated by kp:

URL: https://cgit.FreeBSD.org/src/commit/?id=e9167358e402452bf83d12ac685e845099343a42

commit e9167358e402452bf83d12ac685e845099343a42
Author:     Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2021-12-15 19:49:41 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2021-12-17 11:38:35 +0000

    net: make if_bridgevar.h self-contained
    
    Reviewed by:    imp
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
    Differential Revision:  https://reviews.freebsd.org/D33502
---
 sys/net/if_bridgevar.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sys/net/if_bridgevar.h b/sys/net/if_bridgevar.h
index c12ee4598548..6e08e25eaf71 100644
--- a/sys/net/if_bridgevar.h
+++ b/sys/net/if_bridgevar.h
@@ -76,10 +76,14 @@
  * Data structure and control definitions for bridge interfaces.
  */
 
+#include <sys/types.h>
 #include <sys/callout.h>
 #include <sys/queue.h>
 #include <sys/condvar.h>
 
+#include <net/ethernet.h>
+#include <net/if.h>
+
 /*
  * Commands used in the SIOCSDRVSPEC ioctl.  Note the lookup of the
  * bridge interface itself is keyed off the ifdrv structure.