From 5c5e32fdd30625fad69e6c8874aabd18c69be334 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Graber?= Date: Mon, 25 Nov 2013 18:22:05 -0500 Subject: [PATCH] usernsexec: Add missing getline.h include MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Graber --- src/lxc/lxc_usernsexec.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/lxc/lxc_usernsexec.c b/src/lxc/lxc_usernsexec.c index afc3db95e..de6052d98 100644 --- a/src/lxc/lxc_usernsexec.c +++ b/src/lxc/lxc_usernsexec.c @@ -38,8 +38,15 @@ #include #include #include +#include "config.h" #include "namespace.h" +#ifndef HAVE_GETLINE +#ifdef HAVE_FGETLN +#include <../include/getline.h> +#endif +#endif + int unshare(int flags); static void usage(const char *name) -- 2.47.2