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

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

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