diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-11-14 17:54:58 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-11-14 17:54:58 +0000 |
commit | dfc6f41febc6e43836c677d09528266b0613ed64 (patch) | |
tree | 1015d77097d04c9085e974bccbb15886560289a7 /sys/dev/pci/if_nfe.c | |
parent | ef42cc92b1d349fd37b6d9b284a412667bd88fa1 (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_nfe.c')
-rw-r--r-- | sys/dev/pci/if_nfe.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/dev/pci/if_nfe.c b/sys/dev/pci/if_nfe.c index 2d4a5fbd3e9..b33bfc9a321 100644 --- a/sys/dev/pci/if_nfe.c +++ b/sys/dev/pci/if_nfe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_nfe.c,v 1.112 2015/10/25 13:04:28 mpi Exp $ */ +/* $OpenBSD: if_nfe.c,v 1.113 2015/11/14 17:54:57 mpi Exp $ */ /*- * Copyright (c) 2006, 2007 Damien Bergamini <damien.bergamini@free.fr> @@ -43,11 +43,6 @@ #include <netinet/in.h> #include <netinet/if_ether.h> -#if NVLAN > 0 -#include <net/if_types.h> -#include <net/if_vlan_var.h> -#endif - #if NBPFILTER > 0 #include <net/bpf.h> #endif |