chiark / gitweb /
nspawn: Reorder includes to fix compilation
authorJesper Larsen <jesper.larsen@ixonos.com>
Fri, 19 Jul 2013 09:40:44 +0000 (11:40 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 19 Jul 2013 12:25:50 +0000 (08:25 -0400)
commitaea38d8047a7a9370f8545007d242ede4a5cede1
tree87cdf9441fa63dad44ccf440b1227a2d1f0722b2
parent6aaa8c2f783cd1b3ac27c5ce40625d032e7e3d71
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