]> git.proxmox.com Git - mirror_lxc.git/commitdiff
Add missing include for apparmor.h in conf.c
authorStéphane Graber <stgraber@ubuntu.com>
Sun, 2 Sep 2012 00:15:31 +0000 (20:15 -0400)
committerStéphane Graber <stgraber@ubuntu.com>
Thu, 25 Oct 2012 08:22:50 +0000 (10:22 +0200)
This include is conditional on apparmor being selected.

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
src/lxc/conf.c

index e487910a9b3ae5d8865820a1975cfd84bb31ee7c..e8dce092697035b1775f493e4965620a026d4835 100644 (file)
 #include "lxc.h"       /* for lxc_cgroup_set() */
 #include "caps.h"       /* for lxc_caps_last_cap() */
 
+#if HAVE_APPARMOR
+#include <apparmor.h>
+#endif
+
 lxc_log_define(lxc_conf, lxc);
 
 #define MAXHWLEN    18