conf.h and start.h weren't explicitly including config.h which meant that
depending on the ordering of the includes in whatever was including conf.h
or start.h, some pieces of the structs defined in those may be missing.
This led amongst other problems to the lxc_conf struct being wrong by 8 bytes
for functions from commands.c, leading to lxc-stop always failing.
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Signed-off-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
#ifndef _conf_h
#define _conf_h
+#include "config.h"
+
#include <netinet/in.h>
#include <net/if.h>
#include <sys/param.h>
#ifndef __lxc_state_h
#define __lxc_state_h
+#include "config.h"
+
#include <lxc/state.h>
#include <sys/param.h>