summaryrefslogtreecommitdiff
path: root/sys/dev/mii/mtdphy.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/mtdphy.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/mtdphy.c')
-rw-r--r--sys/dev/mii/mtdphy.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/mii/mtdphy.c b/sys/dev/mii/mtdphy.c
index b86b038e352..1d5737abda6 100644
--- a/sys/dev/mii/mtdphy.c
+++ b/sys/dev/mii/mtdphy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mtdphy.c,v 1.13 2013/12/28 03:30:41 deraadt Exp $ */
+/* $OpenBSD: mtdphy.c,v 1.14 2014/12/05 15:50:04 mpi Exp $ */
/*
* Copyright (c) 1998, 1999 Jason L. Wright (jason@thought.net)
@@ -38,6 +38,7 @@
#include <sys/errno.h>
#include <net/if.h>
+#include <net/if_var.h>
#include <net/if_media.h>
#include <dev/mii/mii.h>