From: David Sommerseth Date: Mon, 8 Oct 2018 18:00:17 +0000 (+0300) Subject: build: Fix another compile warning in console_systemd.c X-Git-Tag: v2.5_beta1~409 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02b392a2ca1e94b0d87c8f643ee887f1b34558ed;p=thirdparty%2Fopenvpn.git build: Fix another compile warning in console_systemd.c console_systemd.c: In function ?get_console_input_systemd?: console_systemd.c:75:5: warning: implicit declaration of function ?openvpn_popen? [-Wimplicit-function-declaration] if ((std_out = openvpn_popen(&argv, NULL)) < 0) Signed-off-by: David Sommerseth Acked-by: Gert Doering Message-Id: <20181008180017.31413-1-davids@openvpn.net> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg17660.html Signed-off-by: Gert Doering --- diff --git a/src/openvpn/console_systemd.c b/src/openvpn/console_systemd.c index e7a72ae38..8d9e825bd 100644 --- a/src/openvpn/console_systemd.c +++ b/src/openvpn/console_systemd.c @@ -33,6 +33,7 @@ #include "syshead.h" #include "console.h" #include "misc.h" +#include "run_command.h" #include