[lxc-devel] [PATCH 09/17] Import local getline copy on bionic
Stéphane Graber
stgraber at ubuntu.com
Fri Aug 16 15:13:55 UTC 2013
Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
---
src/lxc/cgroup.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/lxc/cgroup.c b/src/lxc/cgroup.c
index b2b1aa3..221c018 100644
--- a/src/lxc/cgroup.c
+++ b/src/lxc/cgroup.c
@@ -53,6 +53,12 @@
#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"
--
1.8.3.2
More information about the lxc-devel
mailing list