From d7ca99523fe543bf556842ef0fba15a4d9ff6987 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 25 Aug 2015 22:34:40 +0200 Subject: [PATCH] Math: missing include for std::max() on MSVC. Enabled only for MSVC, as GCC/Clang has max() in some (way smaller) internal header and that is preferred to keep compilation times in sane bounds. --- src/Magnum/Math/Vector.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Magnum/Math/Vector.h b/src/Magnum/Math/Vector.h index 42c0b7412..8018d8862 100644 --- a/src/Magnum/Math/Vector.h +++ b/src/Magnum/Math/Vector.h @@ -30,6 +30,9 @@ */ #include +#ifdef _MSC_VER +#include /* std::max() */ +#endif #include #include #include