From bbd0c4118bb782947962bbf15e05421d186c87a4 Mon Sep 17 00:00:00 2001 From: Ray Molenkamp Date: Tue, 4 Jan 2022 07:15:51 -0700 Subject: Fix: Build issue with MSVC std::min was used without including the algorithm header. Seems to be implicitly included by something in newer MSVC versions and GCC, however vs16.4 needed a little help here. --- intern/opensubdiv/internal/evaluator/patch_map.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'intern') diff --git a/intern/opensubdiv/internal/evaluator/patch_map.cc b/intern/opensubdiv/internal/evaluator/patch_map.cc index 2ebdb922326..1b10c1118b9 100644 --- a/intern/opensubdiv/internal/evaluator/patch_map.cc +++ b/intern/opensubdiv/internal/evaluator/patch_map.cc @@ -23,6 +23,7 @@ // Modifications copyright 2021 Blender Foundation. All rights reserved. #include "internal/evaluator/patch_map.h" +#include using OpenSubdiv::Far::ConstPatchParamArray; using OpenSubdiv::Far::Index; -- cgit v1.2.3