From 120ce443c466fb1d286ffd200ca22a1e9db7284c Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Graber?= Date: Fri, 16 Aug 2013 15:08:39 +0200 Subject: [PATCH] Import local getline copy on bionic MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Graber Acked-by: Serge E. Hallyn --- src/lxc/cgroup.c | 6 ++++++ 1 file changed, 6 insertions(+) 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" -- 2.47.2