aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/rdma
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2008-12-02 21:37:28 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2008-12-02 21:37:28 +0000
commit4b79449e2fb67cb37c4c9f46d31791893a39ddd8 (patch)
treee9bacc5bf23d71b60a706b2c5f58a92e6fb570cb /sys/contrib/rdma
parent8372089626dc6aee37d4f3a66c0f1a030bec912a (diff)
downloadsrc-4b79449e2fb67cb37c4c9f46d31791893a39ddd8.tar.gz
src-4b79449e2fb67cb37c4c9f46d31791893a39ddd8.zip
Rather than using hidden includes (with cicular dependencies),
directly include only the header files needed. This reduces the unneeded spamming of various headers into lots of files. For now, this leaves us with very few modules including vnet.h and thus needing to depend on opt_route.h. Reviewed by: brooks, gnn, des, zec, imp Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=185571
Diffstat (limited to 'sys/contrib/rdma')
-rw-r--r--sys/contrib/rdma/rdma_cma.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/contrib/rdma/rdma_cma.c b/sys/contrib/rdma/rdma_cma.c
index 6b3c88d07eff..d5f7cae31d05 100644
--- a/sys/contrib/rdma/rdma_cma.c
+++ b/sys/contrib/rdma/rdma_cma.c
@@ -51,6 +51,7 @@ __FBSDID("$FreeBSD$");
#include <net/if.h>
#include <netinet/in.h>
#include <netinet/in_pcb.h>
+#include <netinet/vinet.h>
#include <contrib/rdma/rdma_cm.h>
#include <contrib/rdma/ib_cache.h>