summaryrefslogtreecommitdiffstats
path: root/sys/dev/fxp
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2013-10-26 17:58:36 +0000
committerglebius <glebius@FreeBSD.org>2013-10-26 17:58:36 +0000
commitff6e113f1b21a30485c28c63a1779c32b67b5840 (patch)
treea240090af1fb905058b17619590afe813e33e891 /sys/dev/fxp
parent285be8a70998139d68d6204641ac2b493aa506e3 (diff)
downloadFreeBSD-src-ff6e113f1b21a30485c28c63a1779c32b67b5840.zip
FreeBSD-src-ff6e113f1b21a30485c28c63a1779c32b67b5840.tar.gz
The r48589 promised to remove implicit inclusion of if_var.h soon. Prepare
to this event, adding if_var.h to files that do need it. Also, include all includes that now are included due to implicit pollution via if_var.h Sponsored by: Netflix Sponsored by: Nginx, Inc.
Diffstat (limited to 'sys/dev/fxp')
-rw-r--r--sys/dev/fxp/if_fxp.c1
-rw-r--r--sys/dev/fxp/inphy.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c
index 1896d90..52366c7 100644
--- a/sys/dev/fxp/if_fxp.c
+++ b/sys/dev/fxp/if_fxp.c
@@ -55,6 +55,7 @@ __FBSDID("$FreeBSD$");
#include <net/bpf.h>
#include <net/ethernet.h>
#include <net/if.h>
+#include <net/if_var.h>
#include <net/if_arp.h>
#include <net/if_dl.h>
#include <net/if_media.h>
diff --git a/sys/dev/fxp/inphy.c b/sys/dev/fxp/inphy.c
index 587f3fd..07ed8ca 100644
--- a/sys/dev/fxp/inphy.c
+++ b/sys/dev/fxp/inphy.c
@@ -43,6 +43,7 @@ __FBSDID("$FreeBSD$");
#include <sys/bus.h>
#include <net/if.h>
+#include <net/if_var.h>
#include <net/if_media.h>
#include <dev/mii/mii.h>
OpenPOWER on IntegriCloud