diff options
author | Stefan Fritsch <sf@cvs.openbsd.org> | 2015-05-26 19:12:25 +0000 |
---|---|---|
committer | Stefan Fritsch <sf@cvs.openbsd.org> | 2015-05-26 19:12:25 +0000 |
commit | f31f1156c1229e575cb97fdd3b14a00cd68e7f43 (patch) | |
tree | b819185fce3b77711099e660f5a151da335c7e4c /sys | |
parent | 81f38a7b4ea6a52aed2db65a5a9b382e2be1c195 (diff) |
Fix missing vlan.h include in if_vio.c
patch by jsg@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/if_vio.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/dev/pci/if_vio.c b/sys/dev/pci/if_vio.c index 7235e863fa3..7e427f3d37a 100644 --- a/sys/dev/pci/if_vio.c +++ b/sys/dev/pci/if_vio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_vio.c,v 1.30 2015/04/26 12:27:29 sf Exp $ */ +/* $OpenBSD: if_vio.c,v 1.31 2015/05/26 19:12:24 sf Exp $ */ /* * Copyright (c) 2012 Stefan Fritsch, Alexander Fiveg. @@ -27,6 +27,7 @@ */ #include "bpfilter.h" +#include "vlan.h" #include <sys/param.h> #include <sys/systm.h> @@ -53,6 +54,11 @@ #include <netinet/tcp.h> #include <netinet/udp.h> +#if NVLAN > 0 +#include <net/if_types.h> +#include <net/if_vlan_var.h> +#endif + #if NBPFILTER > 0 #include <net/bpf.h> #endif |