diff options
Diffstat (limited to 'common/dynload.cpp')
-rw-r--r-- | common/dynload.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/dynload.cpp b/common/dynload.cpp index 98d2c521..f1c2a7eb 100644 --- a/common/dynload.cpp +++ b/common/dynload.cpp @@ -6,6 +6,8 @@ #include "strutils.h" #ifdef _WIN32 +#define WIN32_LEAN_AND_MEAN +#include <windows.h> void *LoadLib(const char *name) { @@ -39,5 +41,4 @@ void *GetSymbol(void *handle, const char *name) if(err) sym = nullptr; return sym; } - #endif |