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_nge.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_nge.c')
-rw-r--r-- | sys/dev/pci/if_nge.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/dev/pci/if_nge.c b/sys/dev/pci/if_nge.c index 5e4e8cc7ce6..d573d5955df 100644 --- a/sys/dev/pci/if_nge.c +++ b/sys/dev/pci/if_nge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_nge.c,v 1.86 2015/10/25 13:04:28 mpi Exp $ */ +/* $OpenBSD: if_nge.c,v 1.87 2015/11/14 17:54:57 mpi Exp $ */ /* * Copyright (c) 2001 Wind River Systems * Copyright (c) 1997, 1998, 1999, 2000, 2001 @@ -107,11 +107,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 |