summaryrefslogtreecommitdiffstats
path: root/sys/dev/hyperv
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2013-10-28 07:29:16 +0000
committerglebius <glebius@FreeBSD.org>2013-10-28 07:29:16 +0000
commitf469ae1d459eb17461e1fdfa9af613fb107e7be2 (patch)
tree03b696ed3d978454bda50231445eda709131d991 /sys/dev/hyperv
parent7059e9d7d4f6ee34f0ff58a1f972b783f3af7daa (diff)
downloadFreeBSD-src-f469ae1d459eb17461e1fdfa9af613fb107e7be2.zip
FreeBSD-src-f469ae1d459eb17461e1fdfa9af613fb107e7be2.tar.gz
Include necessary headers that now are available due to pollution
via if_var.h. Sponsored by: Netflix Sponsored by: Nginx, Inc.
Diffstat (limited to 'sys/dev/hyperv')
-rw-r--r--sys/dev/hyperv/netvsc/hv_net_vsc.c3
-rw-r--r--sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/hyperv/netvsc/hv_net_vsc.c b/sys/dev/hyperv/netvsc/hv_net_vsc.c
index aeee94d..9dffb76 100644
--- a/sys/dev/hyperv/netvsc/hv_net_vsc.c
+++ b/sys/dev/hyperv/netvsc/hv_net_vsc.c
@@ -24,6 +24,8 @@
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * $FreeBSD$
*/
/**
@@ -37,6 +39,7 @@
#include <sys/socket.h>
#include <sys/lock.h>
#include <net/if.h>
+#include <net/if_var.h>
#include <net/if_arp.h>
#include <machine/bus.h>
#include <machine/atomic.h>
diff --git a/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c b/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c
index f6ace58..df4c045 100644
--- a/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c
+++ b/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c
@@ -75,9 +75,9 @@ __FBSDID("$FreeBSD$");
#include <net/bpf.h>
+#include <net/if_var.h>
#include <net/if_types.h>
#include <net/if_vlan_var.h>
-#include <net/if.h>
#include <netinet/in_systm.h>
#include <netinet/in.h>
OpenPOWER on IntegriCloud