History

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.

Doug Ledford committed 12 years ago

Commit db1044d1 parent 859976d1 file · +1 −0Browse files

Unified · Split

include/uapi/rdma/rdma_user_cm.h+1−0
@@ -34,6 +34,7 @@ · 33 unmodified lines
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>