summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_ixgb.h
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2015-11-14 17:54:58 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2015-11-14 17:54:58 +0000
commitdfc6f41febc6e43836c677d09528266b0613ed64 (patch)
tree1015d77097d04c9085e974bccbb15886560289a7 /sys/dev/pci/if_ixgb.h
parentef42cc92b1d349fd37b6d9b284a412667bd88fa1 (diff)
Do not include <net/if_vlan_var.h> when it's not necessary.
Because of the VLAN hacks in mpw(4) this file still contains the definition of "struct ifvlan" which depends on <sys/refcnt.h> which in turns pull <sys/atomic.h>...
Diffstat (limited to 'sys/dev/pci/if_ixgb.h')
-rw-r--r--sys/dev/pci/if_ixgb.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/dev/pci/if_ixgb.h b/sys/dev/pci/if_ixgb.h
index 19c6c47487e..7891f19ebe8 100644
--- a/sys/dev/pci/if_ixgb.h
+++ b/sys/dev/pci/if_ixgb.h
@@ -31,7 +31,7 @@ POSSIBILITY OF SUCH DAMAGE.
***************************************************************************/
-/* $OpenBSD: if_ixgb.h,v 1.17 2014/12/26 05:46:32 tedu Exp $ */
+/* $OpenBSD: if_ixgb.h,v 1.18 2015/11/14 17:54:57 mpi Exp $ */
#ifndef _IXGB_H_DEFINED_
#define _IXGB_H_DEFINED_
@@ -59,11 +59,6 @@ POSSIBILITY OF SUCH DAMAGE.
#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