summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDoug Ledford <dledford@redhat.com>2014-08-12 19:20:11 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-17 09:22:17 -0700
commit5126045da70818e576a7e6c8d61667f0257df17b (patch)
tree358eaa748d30a706817babc1509051b8296be7c9 /include
parentc06a9fa58039bc8fb3231ffc425ee91f38547cc4 (diff)
RDMA/uapi: Include socket.h in rdma_user_cm.h
commit db1044d458a287c18c4d413adc4ad12e92e253b5 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: ee7aed4528f ("RDMA/ucma: Support querying for AF_IB addresses") Signed-off-by: Doug Ledford <dledford@redhat.com> Signed-off-by: Roland Dreier <roland@purestorage.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/rdma/rdma_user_cm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/rdma/rdma_user_cm.h b/include/uapi/rdma/rdma_user_cm.h
index 99b80abf360a..3066718eb120 100644
--- a/include/uapi/rdma/rdma_user_cm.h
+++ b/include/uapi/rdma/rdma_user_cm.h
@@ -34,6 +34,7 @@
#define RDMA_USER_CM_H
#include <linux/types.h>
+#include <linux/socket.h>
#include <linux/in6.h>
#include <rdma/ib_user_verbs.h>
#include <rdma/ib_user_sa.h>