sockets: Fix compilation on older kernel headers

Since kernel commit 9c501935a3 the sys/socket.h
should be included prior the linux/netlink.h.

Make it so.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Cyrill Gorcunov 2012-03-31 02:46:00 +04:00 committed by Pavel Emelyanov
parent c859dbcc29
commit 766bbf1631

View file

@ -1,3 +1,4 @@
#include <sys/socket.h>
#include <linux/netlink.h>
#include <linux/types.h>
#include <linux/net.h>