diff --git a/frontend/drivers/platform_win32.c b/frontend/drivers/platform_win32.c index c66cb3835fc..d82bf5907a8 100644 --- a/frontend/drivers/platform_win32.c +++ b/frontend/drivers/platform_win32.c @@ -43,6 +43,10 @@ #include "../../verbosity.h" #include "../../ui/drivers/ui_win32.h" +#ifndef SM_SERVERR2 +#define SM_SERVERR2 89 +#endif + #if defined(__WINRT__) || defined(WINAPI_FAMILY) && WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP #include "../../uwp/uwp_func.h" #endif