]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Import local getline copy on bionic
authorStéphane Graber <stgraber@ubuntu.com>
Fri, 16 Aug 2013 13:08:39 +0000 (15:08 +0200)
committerStéphane Graber <stgraber@ubuntu.com>
Mon, 19 Aug 2013 12:33:15 +0000 (14:33 +0200)
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
src/lxc/cgroup.c

index ab47a645a0af85b85b5073b93e4af160e8124f89..94bf16099f82795009c70c4654ddb67cbe066c7b 100644 (file)
 #include <mntent.h>
 #endif
 
+#ifndef HAVE_GETLINE
+#ifdef HAVE_FGETLN
+#include <../include/getline.h>
+#endif
+#endif
+
 lxc_log_define(lxc_cgroup, lxc);
 
 #define MTAB "/proc/mounts"