From: Kelvin Lee Date: Tue, 1 Dec 2020 13:25:01 +0000 (+1100) Subject: Fix simpledynamic.c - a typo and missed a header X-Git-Tag: openssl-3.0.0-alpha10~215 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9feb2fce6553df7b2d75cf283826b97407eea55b;p=thirdparty%2Fopenssl.git 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) --- diff --git a/test/simpledynamic.c b/test/simpledynamic.c index 41a910caa26..bbeeae02a49 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;