summaryrefslogtreecommitdiffstats
path: root/include/rdma/iw_portmap.h
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@mellanox.com>2019-07-22 19:01:30 +0200
committerJason Gunthorpe <jgg@mellanox.com>2019-07-25 18:58:47 +0200
commit39289bfc221423b27570e7c9157b690828e786cb (patch)
treea66ee47a2f1a49b7795fed229135d1795ef32043 /include/rdma/iw_portmap.h
parentRDMA/qedr: Remove Unneeded variable rc (diff)
downloadlinux-39289bfc221423b27570e7c9157b690828e786cb.tar.xz
linux-39289bfc221423b27570e7c9157b690828e786cb.zip
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