Commit 90fd4bfa authored by Andrey Vagin's avatar Andrey Vagin Committed by Cyrill Gorcunov

netlink: include sys/socket.h

It's workaround for RHEL6, it contains old headers.

In file included from libnetlink.c:2:
/usr/include/linux/netlink.h:34: error: expected specifier-qualifier-list before ‘sa_family_t’
Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
Acked-by: 's avatarPavel Emelyanov <xemul@parallels.com>
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
parent f7688ed7
#include <linux/types.h> #include <linux/types.h>
#include <sys/socket.h>
#include <linux/netlink.h> #include <linux/netlink.h>
#include <string.h> #include <string.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment