From 674b16640a19569c35045f18021e25df5e85dc1d Mon Sep 17 00:00:00 2001 From: David Sommerseth Date: Mon, 8 Oct 2018 19:56:48 +0300 Subject: [PATCH] build: Fix build warnings related to get_random() 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 Acked-by: Gert Doering 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 --- src/openvpn/platform.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/openvpn/platform.c b/src/openvpn/platform.c index 5ecccf1c9..53d07f9cd 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" -- 2.47.2