]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Fix compilation error on fc12
authorDaniel Lezcano <daniel.lezcano@free.fr>
Tue, 12 Oct 2010 13:11:45 +0000 (15:11 +0200)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Tue, 12 Oct 2010 13:11:45 +0000 (15:11 +0200)
The capability header makes the inclusion of the loop header to
fail. Moving the inclusion of loop.h before capability.h fixes the
problem.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/conf.c

index e408120cf59dc731bdc5ec1da8e686dda2224732..e4e4bb5aa6363550b6e48eccde91113f8ca086c6 100644 (file)
@@ -33,6 +33,8 @@
 #include <sys/wait.h>
 #include <pty.h>
 
+#include <linux/loop.h>
+
 #include <sys/types.h>
 #include <sys/utsname.h>
 #include <sys/param.h>
@@ -50,8 +52,6 @@
 #include <net/if.h>
 #include <libgen.h>
 
-#include <linux/loop.h>
-
 #include "network.h"
 #include "error.h"
 #include "parse.h"