Skip to content

Commit db1044d

Browse files
dledfordrolandd
authored andcommitted
RDMA/uapi: Include socket.h in rdma_user_cm.h
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: ee7aed4 ("RDMA/ucma: Support querying for AF_IB addresses") Signed-off-by: Doug Ledford <dledford@redhat.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
1 parent 859976d commit db1044d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎include/uapi/rdma/rdma_user_cm.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
#define RDMA_USER_CM_H
3535

3636
#include <linux/types.h>
37+
#include <linux/socket.h>
3738
#include <linux/in6.h>
3839
#include <rdma/ib_user_verbs.h>
3940
#include <rdma/ib_user_sa.h>

0 commit comments

Comments
 (0)