diff options
author | bz <bz@FreeBSD.org> | 2009-06-17 12:44:11 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2009-06-17 12:44:11 +0000 |
commit | b017972f116ec349316c8750695dd271f9a583ea (patch) | |
tree | 0512a76c52406b2b80e4f24f2882a90af09d3a72 | |
parent | 21376236dde77e2c63790a0607687faa898d87d6 (diff) | |
download | FreeBSD-src-b017972f116ec349316c8750695dd271f9a583ea.zip FreeBSD-src-b017972f116ec349316c8750695dd271f9a583ea.tar.gz |
Add the explicit include of vimage.h to another five .c files still
missing it.
Remove the "hidden" kernel only include of vimage.h from ip_var.h added
with the very first Vimage commit r181803 to avoid further kernel poisoning.
-rw-r--r-- | sys/fs/nfs/nfsport.h | 1 | ||||
-rw-r--r-- | sys/net/if_enc.c | 1 | ||||
-rw-r--r-- | sys/net/if_gre.c | 1 | ||||
-rw-r--r-- | sys/netinet/in_proto.c | 1 | ||||
-rw-r--r-- | sys/netinet/ip_var.h | 3 | ||||
-rw-r--r-- | sys/netipsec/xform_tcp.c | 1 |
6 files changed, 5 insertions, 3 deletions
diff --git a/sys/fs/nfs/nfsport.h b/sys/fs/nfs/nfsport.h index b9f841b..d10fdfb 100644 --- a/sys/fs/nfs/nfsport.h +++ b/sys/fs/nfs/nfsport.h @@ -78,6 +78,7 @@ #include <sys/priv.h> #include <sys/kthread.h> #include <sys/syscallsubr.h> +#include <sys/vimage.h> #include <fs/fifofs/fifo.h> #include <net/if.h> #include <net/radix.h> diff --git a/sys/net/if_enc.c b/sys/net/if_enc.c index 391b798..38321ff 100644 --- a/sys/net/if_enc.c +++ b/sys/net/if_enc.c @@ -38,6 +38,7 @@ #include <sys/socket.h> #include <sys/sockio.h> #include <sys/sysctl.h> +#include <sys/vimage.h> #include <net/if.h> #include <net/if_clone.h> diff --git a/sys/net/if_gre.c b/sys/net/if_gre.c index 5ec12e0..e7eb34a 100644 --- a/sys/net/if_gre.c +++ b/sys/net/if_gre.c @@ -64,6 +64,7 @@ #include <sys/sockio.h> #include <sys/sysctl.h> #include <sys/systm.h> +#include <sys/vimage.h> #include <net/ethernet.h> #include <net/if.h> diff --git a/sys/netinet/in_proto.c b/sys/netinet/in_proto.c index c677c5d..8384600 100644 --- a/sys/netinet/in_proto.c +++ b/sys/netinet/in_proto.c @@ -50,6 +50,7 @@ __FBSDID("$FreeBSD$"); #include <sys/protosw.h> #include <sys/queue.h> #include <sys/sysctl.h> +#include <sys/vimage.h> #include <net/if.h> #include <net/route.h> diff --git a/sys/netinet/ip_var.h b/sys/netinet/ip_var.h index 1e5e693..c0b02eb 100644 --- a/sys/netinet/ip_var.h +++ b/sys/netinet/ip_var.h @@ -34,9 +34,6 @@ #define _NETINET_IP_VAR_H_ #include <sys/queue.h> -#ifdef _KERNEL -#include <sys/vimage.h> -#endif /* * Overlay for ip header used by other protocols (tcp, udp). diff --git a/sys/netipsec/xform_tcp.c b/sys/netipsec/xform_tcp.c index 904983c..35a4d43 100644 --- a/sys/netipsec/xform_tcp.c +++ b/sys/netipsec/xform_tcp.c @@ -39,6 +39,7 @@ #include <sys/kernel.h> #include <sys/protosw.h> #include <sys/sysctl.h> +#include <sys/vimage.h> #include <netinet/in.h> #include <netinet/in_systm.h> |