From: David Sommerseth Date: Mon, 8 Oct 2018 16:56:48 +0000 (+0300) Subject: build: Fix build warnings related to get_random() X-Git-Tag: v2.5_beta1~410 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=674b166;p=thirdparty%2Fopenvpn.git 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 --- 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"