summaryrefslogtreecommitdiff
path: root/sys/dev/mii/lxtphy.c
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2014-12-05 15:50:05 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2014-12-05 15:50:05 +0000
commit8408ec24028693835160bf2ce0f968cb43c63643 (patch)
tree58a8a3a42e9afee7d996989f39056dbefd9f9930 /sys/dev/mii/lxtphy.c
parent3102933c68a271f0c3b5bf4ab50e6229ecd384d1 (diff)
Explicitly include <net/if_var.h> instead of pulling it in <net/if.h>.
ok mikeb@, krw@, bluhm@, tedu@
Diffstat (limited to 'sys/dev/mii/lxtphy.c')
-rw-r--r--sys/dev/mii/lxtphy.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/mii/lxtphy.c b/sys/dev/mii/lxtphy.c
index 6e6564299eb..2bf065d0f4f 100644
--- a/sys/dev/mii/lxtphy.c
+++ b/sys/dev/mii/lxtphy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lxtphy.c,v 1.18 2013/12/28 03:30:41 deraadt Exp $ */
+/* $OpenBSD: lxtphy.c,v 1.19 2014/12/05 15:50:04 mpi Exp $ */
/* $NetBSD: lxtphy.c,v 1.19 2000/02/02 23:34:57 thorpej Exp $ */
/*-
@@ -68,6 +68,7 @@
#include <sys/errno.h>
#include <net/if.h>
+#include <net/if_var.h>
#include <net/if_media.h>
#include <dev/mii/mii.h>