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.
Unified · Split
| @@ -34,6 +34,7 @@ · 33 unmodified lines | |||
| 34 | #define RDMA_USER_CM_H | 34 | #define RDMA_USER_CM_H |
| 35 | 35 | ||
| 36 | #include <linux/types.h> | 36 | #include <linux/types.h> |
| 37 | #include <linux/socket.h> | ||
| 37 | #include <linux/in6.h> | 38 | #include <linux/in6.h> |
| 38 | #include <rdma/ib_user_verbs.h> | 39 | #include <rdma/ib_user_verbs.h> |
| 39 | #include <rdma/ib_user_sa.h> | 40 | #include <rdma/ib_user_sa.h> |