On Thu, 14 Jan 2016, Mark Stodola wrote:
> It looks like sa_family_t has been morphing over time. In SL5, it is indeed
> defined in linux/socket.h. In SL6 I find it defined in bits/sockaddr.h. In
> SL7 it continues to be in bits/sockaddr.h, but there is also
> __kernel_sa_family_t defined in linux/socket.h.
>
> Try adding bits/sockaddr.h to your includes.
That probably should be <sys/socket.h>. From the sockaddr.h:
* Never include this file directly; use <sys/socket.h> instead.
Antonio Querubin
e-mail: [log in to unmask]
xmpp: [log in to unmask]