From 9feb2fce6553df7b2d75cf283826b97407eea55b Mon Sep 17 00:00:00 2001 From: Kelvin Lee Date: Wed, 2 Dec 2020 00:25:01 +1100 Subject: [PATCH] Fix simpledynamic.c - a typo and missed a header CLA: trivial Reviewed-by: Tomas Mraz Reviewed-by: Matt Caswell Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/13584) --- test/simpledynamic.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/simpledynamic.c b/test/simpledynamic.c index 41a910caa2..bbeeae02a4 100644 --- a/test/simpledynamic.c +++ b/test/simpledynamic.c @@ -9,6 +9,7 @@ #include /* For NULL */ #include /* For NON_EMPTY_TRANSLATION_UNIT */ +#include #include "simpledynamic.h" #if defined(DSO_DLFCN) @@ -42,7 +43,7 @@ const char *sd_error(void) #elif defined(DSO_WIN32) -nt sd_load(const char *filename, SD *lib, ossl_unused int type) +int sd_load(const char *filename, SD *lib, ossl_unused int type) { *lib = LoadLibraryA(filename); return *lib == NULL ? 0 : 1;