CLA: trivial
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13584)
#include <stdlib.h> /* For NULL */
#include <openssl/macros.h> /* For NON_EMPTY_TRANSLATION_UNIT */
+#include <openssl/e_os2.h>
#include "simpledynamic.h"
#if defined(DSO_DLFCN)
#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;