diff --git a/src/lxc/cgroup.c b/src/lxc/cgroup.c index ab47a645a..94bf16099 100644 --- a/src/lxc/cgroup.c +++ b/src/lxc/cgroup.c @@ -53,6 +53,12 @@ #include #endif +#ifndef HAVE_GETLINE +#ifdef HAVE_FGETLN +#include <../include/getline.h> +#endif +#endif + lxc_log_define(lxc_cgroup, lxc); #define MTAB "/proc/mounts"