The removed chunk is already defined in utils.h which
is included in modified files.
Signed-off-by: Luka Perkov <luka.perkov@sartura.hr>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
#include <mntent.h>
#endif
-#ifndef HAVE_GETLINE
-#ifdef HAVE_FGETLN
-#include <../include/getline.h>
-#endif
-#endif
-
lxc_log_define(lxc_cgroup, lxc);
static struct cgroup_process_info *lxc_cgroup_process_info_getx(const char *proc_pid_cgroup_str, struct cgroup_meta_data *meta);
#include "namespace.h"
#include "utils.h"
-#ifndef HAVE_GETLINE
-#ifdef HAVE_FGETLN
-#include <../include/getline.h>
-#endif
-#endif
-
int unshare(int flags);
static void usage(const char *name)
#include <../include/ifaddrs.h>
#endif
-#ifndef HAVE_GETLINE
-#ifdef HAVE_FGETLN
-#include <../include/getline.h>
-#endif
-#endif
-
#define MAX_BUFFER 4096
lxc_log_define(lxc_container, lxc);
#include <sys/wait.h>
#include <assert.h>
-#ifndef HAVE_GETLINE
-#ifdef HAVE_FGETLN
-#include <../include/getline.h>
-#endif
-#endif
-
#include "utils.h"
#include "log.h"
#include "lxclock.h"