From e5a7992db27e21573dbe03c6b51dcbfe2ca9709d Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Mon, 31 Oct 2022 12:46:41 +0100 Subject: [PATCH] Add include file shlwapi.h --- src/osdi/osdiregistry.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/osdi/osdiregistry.c b/src/osdi/osdiregistry.c index 2370f0837..e134da141 100644 --- a/src/osdi/osdiregistry.c +++ b/src/osdi/osdiregistry.c @@ -33,6 +33,7 @@ #undef BOOLEAN #include +#include #define OPENLIB(path) LoadLibrary(path) #define GET_SYM(lib, sym) ((void *)GetProcAddress(lib, sym)) char *dlerror(void); @@ -99,7 +100,7 @@ static char *resolve_path(const char *name) { #endif return (char *)NULL; -} +} /* end of function inp_pathresolve */ static char *resolve_input_path(const char *name) { /* if name is an absolute path name, @@ -187,7 +188,7 @@ static size_t calc_osdi_instance_data_off(const OsdiDescriptor *descr) { (OsdiObjectFile) { .num_entries = -1 } #define EMPTY_OBJECT \ - (OsdiObjectFile) {} + (OsdiObjectFile) {NULL, 0} #define ERR_AND_RET \ error = dlerror(); \