]> granicus.if.org Git - libnl/commit
compat: add linux/socket.h for __kernel_sa_family_t
authorJeff Squyres <jsquyres@cisco.com>
Thu, 18 Aug 2016 22:40:27 +0000 (15:40 -0700)
committerThomas Haller <thaller@redhat.com>
Mon, 29 Aug 2016 10:49:45 +0000 (12:49 +0200)
commit746bbba3e55206c67808d3243aad740abc92ab3f
tree5369924a9ab60f140d2ad803d2d7f3d1834c0c49
parente1ca7733ef3d1f8444e37d7bd8e5e98184df721b
compat: add linux/socket.h for __kernel_sa_family_t

The __kernel_sa_family_t type is not present on older systems (e.g.,
RHEL 6), and libnl3 will not built without it.  Copy
/usr/include/linux/socket.h from a RHEL7 system to
include/linux-private/linux/socket.h so that it will be found by the
build system.

Fortunately, this socket.h is small and self-contained; it contains
very little (and does not #include any other files) beyond necessary
type.

https://github.com/thom311/libnl/pull/107

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
Signed-off-by: Thomas Haller <thaller@redhat.com>
include/Makefile.am
include/linux-private/linux/socket.h [new file with mode: 0644]