From 482c5f001449f6bbb57c4d01363600879607099e Mon Sep 17 00:00:00 2001 From: Ray Molenkamp Date: Mon, 18 Oct 2021 19:01:18 -0600 Subject: Fix: Build error with MSVC noise.cc uses std::min and std::max without including the algorithm header required. Newer MSVC versions and GCC implicitly include it somewhere, which isn't something we should count on. Best to include what you use. --- source/blender/blenlib/intern/noise.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/blenlib') diff --git a/source/blender/blenlib/intern/noise.cc b/source/blender/blenlib/intern/noise.cc index 812e6ddd181..58b6bb638e9 100644 --- a/source/blender/blenlib/intern/noise.cc +++ b/source/blender/blenlib/intern/noise.cc @@ -46,6 +46,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +#include #include #include -- cgit v1.2.3