From: Stéphane Graber Date: Fri, 16 Aug 2013 13:08:39 +0000 (+0200) Subject: Import local getline copy on bionic X-Git-Tag: lxc-1.0.0.alpha1~1^2~63 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=120ce443c466fb1d286ffd200ca22a1e9db7284c;p=thirdparty%2Flxc.git Import local getline copy on bionic Signed-off-by: Stéphane Graber Acked-by: Serge E. Hallyn --- 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"