summaryrefslogtreecommitdiff
path: root/sys/net/if_media.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2015-01-21 23:06:11 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2015-01-21 23:06:11 +0000
commit0cda7b6341c8e229cc9bfdd31ef764c63bba800b (patch)
tree6d9acfb8aa06d826e5b89ae98f48a0a8ba35559b /sys/net/if_media.c
parentb606c0e6d23edc8554b876f46df1da09fe97431e (diff)
if_media.c needs net/if_var.h. This fixes the build with IFMEDIA_DEBUG.
from Fabian Raetz
Diffstat (limited to 'sys/net/if_media.c')
-rw-r--r--sys/net/if_media.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/if_media.c b/sys/net/if_media.c
index ac6f50a4725..3eee75764dd 100644
--- a/sys/net/if_media.c
+++ b/sys/net/if_media.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_media.c,v 1.24 2014/12/09 07:05:06 doug Exp $ */
+/* $OpenBSD: if_media.c,v 1.25 2015/01/21 23:06:10 deraadt Exp $ */
/* $NetBSD: if_media.c,v 1.10 2000/03/13 23:52:39 soren Exp $ */
/*-
@@ -84,6 +84,7 @@
#include <sys/malloc.h>
#include <net/if.h>
+#include <net/if_var.h>
#include <net/if_media.h>
#include <net/netisr.h>