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/nfsclient | |
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/nfsclient')
-rw-r--r-- | sys/nfsclient/nfs_vfsops.c | 1 | ||||
-rw-r--r-- | sys/nfsclient/nfs_vnops.c | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/sys/nfsclient/nfs_vfsops.c b/sys/nfsclient/nfs_vfsops.c index 7a26aa2..cf63c5e 100644 --- a/sys/nfsclient/nfs_vfsops.c +++ b/sys/nfsclient/nfs_vfsops.c @@ -65,6 +65,7 @@ __FBSDID("$FreeBSD$"); #include <vm/uma.h> #include <net/if.h> +#include <net/if_var.h> #include <net/route.h> #include <net/vnet.h> diff --git a/sys/nfsclient/nfs_vnops.c b/sys/nfsclient/nfs_vnops.c index 69ff21d..d703a8a 100644 --- a/sys/nfsclient/nfs_vnops.c +++ b/sys/nfsclient/nfs_vnops.c @@ -51,6 +51,7 @@ __FBSDID("$FreeBSD$"); #include <sys/bio.h> #include <sys/buf.h> #include <sys/jail.h> +#include <sys/lock.h> #include <sys/malloc.h> #include <sys/mbuf.h> #include <sys/namei.h> @@ -59,6 +60,7 @@ __FBSDID("$FreeBSD$"); #include <sys/dirent.h> #include <sys/fcntl.h> #include <sys/lockf.h> +#include <sys/rwlock.h> #include <sys/stat.h> #include <sys/sysctl.h> #include <sys/signalvar.h> @@ -77,6 +79,8 @@ __FBSDID("$FreeBSD$"); #include <nfsclient/nfsm_subs.h> #include <net/if.h> +#include <net/if_var.h> +#include <net/vnet.h> #include <netinet/in.h> #include <netinet/in_var.h> |