]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Fix header inclusion
authorDaniel Lezcano <daniel.lezcano@free.fr>
Wed, 24 Feb 2010 09:57:43 +0000 (10:57 +0100)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Wed, 24 Feb 2010 09:57:43 +0000 (10:57 +0100)
No need to include the lxc_conf structure definition, a forward
declaration is enough.

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

index ba555621d7b3daf29a8d6107428a5c64eb65ac98..3816d0cb9b500566480fc1194c2ce300a9561e66 100644 (file)
 #ifndef __lxc_state_h
 #define __lxc_state_h
 
-#include <lxc/conf.h>
 #include <lxc/state.h>
+#include <sys/param.h>
 
-struct lxc_handler {
+struct lxc_conf;
 
+struct lxc_handler {
        pid_t pid;
        lxc_state_t state;
-
        int sigfd;
        char nsgroup[MAXPATHLEN];
        sigset_t oldmask;