Commit f424fa8f by Stéphane Graber

Add missing config.h includes.

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: 's avatarStéphane Graber <stgraber@ubuntu.com> Signed-off-by: 's avatarSerge E. Hallyn <serge.hallyn@ubuntu.com>
parent 2ac9aafc
......@@ -23,6 +23,8 @@
#ifndef _conf_h
#define _conf_h
#include "config.h"
#include <netinet/in.h>
#include <net/if.h>
#include <sys/param.h>
......
......@@ -23,6 +23,8 @@
#ifndef __lxc_state_h
#define __lxc_state_h
#include "config.h"
#include <lxc/state.h>
#include <sys/param.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment