Bump LXC package from 1.1.5 to 2.1.0. Version 2.x includes many improvements and optimizations. https://linuxcontainers.org/lxc/news/ Some tools like lxc-top are rewritten in C and are no longer broken and dependent on lua. Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
15 lines
399 B
Diff
15 lines
399 B
Diff
--- a/src/lxc/utils.h
|
|
+++ b/src/lxc/utils.h
|
|
@@ -59,11 +59,7 @@ extern int mkdir_p(const char *dir, mode_t mode);
|
|
extern char *get_rundir(void);
|
|
|
|
/* Define getline() if missing from the C library */
|
|
-#ifndef HAVE_GETLINE
|
|
-#ifdef HAVE_FGETLN
|
|
-#include <../include/getline.h>
|
|
-#endif
|
|
-#endif
|
|
+#include "../include/getline.h"
|
|
|
|
/* Define setns() if missing from the C library */
|
|
#ifndef HAVE_SETNS
|