]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
build: Fix another compile warning in console_systemd.c
authorDavid Sommerseth <davids@openvpn.net>
Mon, 8 Oct 2018 18:00:17 +0000 (21:00 +0300)
committerGert Doering <gert@greenie.muc.de>
Mon, 8 Oct 2018 18:13:48 +0000 (20:13 +0200)
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 <davids@openvpn.net>
Acked-by: Gert Doering <gert@greenie.muc.de>
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 <gert@greenie.muc.de>
src/openvpn/console_systemd.c

index e7a72ae38405e3ecce88f2fce10d3bac7d7ab214..8d9e825bd810ad9d0ec107649cd39f595d1e871a 100644 (file)
@@ -33,6 +33,7 @@
 #include "syshead.h"
 #include "console.h"
 #include "misc.h"
+#include "run_command.h"
 
 #include <systemd/sd-daemon.h>