diff options
author | glebius <glebius@FreeBSD.org> | 2013-10-26 17:58:36 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2013-10-26 17:58:36 +0000 |
commit | ff6e113f1b21a30485c28c63a1779c32b67b5840 (patch) | |
tree | a240090af1fb905058b17619590afe813e33e891 /sys/dev/wi | |
parent | 285be8a70998139d68d6204641ac2b493aa506e3 (diff) | |
download | FreeBSD-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/wi')
-rw-r--r-- | sys/dev/wi/if_wi.c | 1 | ||||
-rw-r--r-- | sys/dev/wi/if_wi_pccard.c | 1 | ||||
-rw-r--r-- | sys/dev/wi/if_wi_pci.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/wi/if_wi.c b/sys/dev/wi/if_wi.c index c9bf2e0..ac6d8c0 100644 --- a/sys/dev/wi/if_wi.c +++ b/sys/dev/wi/if_wi.c @@ -87,6 +87,7 @@ __FBSDID("$FreeBSD$"); #include <sys/rman.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_dl.h> diff --git a/sys/dev/wi/if_wi_pccard.c b/sys/dev/wi/if_wi_pccard.c index 382a3a3..2f199c8 100644 --- a/sys/dev/wi/if_wi_pccard.c +++ b/sys/dev/wi/if_wi_pccard.c @@ -43,6 +43,7 @@ __FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/kernel.h> +#include <sys/malloc.h> #include <sys/socket.h> #include <sys/systm.h> #include <sys/module.h> diff --git a/sys/dev/wi/if_wi_pci.c b/sys/dev/wi/if_wi_pci.c index 30cdbc4..198c599 100644 --- a/sys/dev/wi/if_wi_pci.c +++ b/sys/dev/wi/if_wi_pci.c @@ -55,6 +55,7 @@ #include <dev/pci/pcivar.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_arp.h> #include <net/ethernet.h> #include <net/if_media.h> |