RDMA/uapi: Include socket.h in rdma_user_cm.h
authorDoug Ledford <dledford@redhat.com>
Tue, 12 Aug 2014 23:20:11 +0000 (19:20 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Sep 2014 16:19:24 +0000 (09:19 -0700)
commit274a2532607a785216bb022231f16673bbf72e22
treecac57421215f6894e5cb3b764da54f47b94019b9
parentf4764072d92fe6a1d2181fb81067ae5791b992b6
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>
include/uapi/rdma/rdma_user_cm.h