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;