From: Stéphane Graber Date: Mon, 25 Nov 2013 23:22:05 +0000 (-0500) Subject: usernsexec: Add missing getline.h include X-Git-Tag: lxc-1.0.0.beta1~92 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c5e32fdd30625fad69e6c8874aabd18c69be334;p=thirdparty%2Flxc.git usernsexec: Add missing getline.h include Signed-off-by: Stéphane Graber --- 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)