mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-25 11:04:35 +00:00
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:
parent
c859dbcc29
commit
766bbf1631
1 changed files with 1 additions and 0 deletions
|
|
@ -1,3 +1,4 @@
|
|||
#include <sys/socket.h>
|
||||
#include <linux/netlink.h>
|
||||
#include <linux/types.h>
|
||||
#include <linux/net.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue