summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2024-05-27 03:57:00 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2024-05-27 03:57:00 +0000
commit62af875f0dfa494a78b0d0d8d699acbede2cbae6 (patch)
tree65ee7c091ff41a6fec686d33d787830977edacd3 /sys/dev
parent3c5826f79577ae7a9027ab6204a8c4267b55052b (diff)
include net/if_var.h to make this build
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/mii/txphy.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/mii/txphy.c b/sys/dev/mii/txphy.c
index 17507858162..7d8f923b20d 100644
--- a/sys/dev/mii/txphy.c
+++ b/sys/dev/mii/txphy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: txphy.c,v 1.13 2023/03/30 09:24:22 kevlo Exp $ */
+/* $OpenBSD: txphy.c,v 1.14 2024/05/27 03:56:59 jsg Exp $ */
/*
* Copyright (c) 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>