summaryrefslogtreecommitdiff
path: root/include/rdma/iw_portmap.h
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@mellanox.com>2019-07-22 17:01:30 +0000
committerJason Gunthorpe <jgg@mellanox.com>2019-07-25 13:58:47 -0300
commit39289bfc221423b27570e7c9157b690828e786cb (patch)
treea66ee47a2f1a49b7795fed229135d1795ef32043 /include/rdma/iw_portmap.h
parentcf167e5eb92c143ac2b0300ea65ed9f0ce572c3b (diff)
RDMA: Make most headers compile stand alone
So that rdma can work with CONFIG_KERNEL_HEADER_TEST and CONFIG_HEADERS_CHECK. Link: https://lore.kernel.org/r/20190722170126.GA16453@ziepe.ca Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/rdma/iw_portmap.h')
-rw-r--r--include/rdma/iw_portmap.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/rdma/iw_portmap.h b/include/rdma/iw_portmap.h
index b9fee7feeeb5..c89535047c42 100644
--- a/include/rdma/iw_portmap.h
+++ b/include/rdma/iw_portmap.h
@@ -33,6 +33,9 @@
#ifndef _IW_PORTMAP_H
#define _IW_PORTMAP_H
+#include <linux/socket.h>
+#include <linux/netlink.h>
+
#define IWPM_ULIBNAME_SIZE 32
#define IWPM_DEVNAME_SIZE 32
#define IWPM_IFNAME_SIZE 16