From aea38d8047a7a9370f8545007d242ede4a5cede1 Mon Sep 17 00:00:00 2001 From: Jesper Larsen Date: Fri, 19 Jul 2013 11:40:44 +0200 Subject: [PATCH] nspawn: Reorder includes to fix compilation Commit 2e996f4d4b642c5682c608c9692ad2ffae398ab2 added an include of linux/netlink.h This kernel header is not self contained in the linux 2.6 kernel which breaks compilation with an unknown type sa_family_t A workaround is to include linux/netlink.h after sys/socket.h --- src/nspawn/nspawn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c index cfd88efc9..fc005d9ce 100644 --- a/src/nspawn/nspawn.c +++ b/src/nspawn/nspawn.c @@ -39,9 +39,9 @@ #include #include #include -#include #include #include +#include #include #include -- 2.30.2