Commit 5126045d authored by Doug Ledford's avatar Doug Ledford Committed by Greg Kroah-Hartman

RDMA/uapi: Include socket.h in rdma_user_cm.h

commit db1044d4 upstream.

added struct sockaddr_storage to rdma_user_cm.h without also adding an
include for linux/socket.h to make sure it is defined.  Systemtap
needs the header files to build standalone and cannot rely on other
files to pre-include other headers, so add linux/socket.h to the list
of includes in this file.

Fixes: ee7aed45 ("RDMA/ucma: Support querying for AF_IB addresses")
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
Signed-off-by: default avatarRoland Dreier <roland@purestorage.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c06a9fa5
...@@ -34,6 +34,7 @@ ...@@ -34,6 +34,7 @@
#define RDMA_USER_CM_H #define RDMA_USER_CM_H
#include <linux/types.h> #include <linux/types.h>
#include <linux/socket.h>
#include <linux/in6.h> #include <linux/in6.h>
#include <rdma/ib_user_verbs.h> #include <rdma/ib_user_verbs.h>
#include <rdma/ib_user_sa.h> #include <rdma/ib_user_sa.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment