Message ID | 20181008165648.27504-1-davids@openvpn.net |
---|---|
State | Accepted |
Headers | show |
Series | [Openvpn-devel] build: Fix build warnings related to get_random() | expand |
Acked-by: Gert Doering <gert@greenie.muc.de> Your patch has been applied to the master branch. commit 674b16640a19569c35045f18021e25df5e85dc1d Author: David Sommerseth Date: Mon Oct 8 19:56:48 2018 +0300 build: Fix build warnings related to get_random() Signed-off-by: David Sommerseth <davids@openvpn.net> Acked-by: Gert Doering <gert@greenie.muc.de> Message-Id: <20181008165648.27504-1-davids@openvpn.net> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg17652.html Signed-off-by: Gert Doering <gert@greenie.muc.de> -- kind regards, Gert Doering
diff --git a/src/openvpn/platform.c b/src/openvpn/platform.c index 5ecccf1c..53d07f9c 100644 --- a/src/openvpn/platform.c +++ b/src/openvpn/platform.c @@ -30,6 +30,7 @@ #include "syshead.h" #include "buffer.h" +#include "crypto.h" #include "error.h" #include "misc.h" #include "win32.h"
This fixes this compile warning: platform.c: In function ‘platform_create_temp_file’: platform.c:355:31: warning: implicit declaration of function ‘get_random’ [-Wimplicit-function-declaration] prefix, (unsigned long) get_random(), Signed-off-by: David Sommerseth <davids@openvpn.net> --- src/openvpn/platform.c | 1 + 1 file changed, 1 insertion(+)