summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_sk.c
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_sk.c
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_sk.c')
-rw-r--r--sys/dev/pci/if_sk.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/pci/if_sk.c b/sys/dev/pci/if_sk.c
index 42d833e9381..1dba8e67a28 100644
--- a/sys/dev/pci/if_sk.c
+++ b/sys/dev/pci/if_sk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_sk.c,v 1.178 2015/10/25 13:04:28 mpi Exp $ */
+/* $OpenBSD: if_sk.c,v 1.179 2015/11/14 17:54:57 mpi Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000
@@ -107,7 +107,6 @@
#include <netinet/if_ether.h>
#include <net/if_media.h>
-#include <net/if_vlan_var.h>
#if NBPFILTER > 0
#include <net/bpf.h>