From 7bcef1bde539208b9efd9dc00b99bc7f82f2ab3e Mon Sep 17 00:00:00 2001 From: Michael Curran Date: Tue, 20 Aug 2024 13:01:24 +1000 Subject: [PATCH] Support compiling with VS 2022 V17.11 (#17028) Fixes #17026 Summary of the issue: Trying to compile NVDA with Visual Studio 2022 V17.11 produces the following error: build\x86\local\beeps.cpp(19): error C2039: 'min': is not a member of 'std' std::min and std::max are defined in which we never include in beeps.cpp. I assume that used to include and now it does not. Description of user facing changes None. Description of development approach Include in beeps.cpp. --- nvdaHelper/local/beeps.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/nvdaHelper/local/beeps.cpp b/nvdaHelper/local/beeps.cpp index 94e5c3ff7be..7a528baa5b5 100644 --- a/nvdaHelper/local/beeps.cpp +++ b/nvdaHelper/local/beeps.cpp @@ -13,6 +13,7 @@ This license can be found at: */ #define _USE_MATH_DEFINES #include +#include #include "beeps.h"