From d99b6f34042d3ae680895fb2075c84aa949e8167 Mon Sep 17 00:00:00 2001 From: Thomas Debesse Date: Wed, 25 Dec 2019 20:22:59 +0100 Subject: [PATCH] =?utf8?q?crn=5Frgba:=20use=20=E2=80=9Calgorithm=E2=80=9D?= =?utf8?q?=20header=20to=20avoid=20std::min/max=20being=20unknown?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit avoid this error on some systems (Clang on macOS or FreeBSD): netradiant/libs/crnrgba/crn_rgba.cpp:93:38: error: no member named 'max' in namespace 'std' const crn_uint32 blocks_x = std::max(1U, (ti.m_width + 3) >> 2); --- libs/crnrgba/crn_rgba.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/crnrgba/crn_rgba.cpp b/libs/crnrgba/crn_rgba.cpp index 8dec126f..012b95fb 100644 --- a/libs/crnrgba/crn_rgba.cpp +++ b/libs/crnrgba/crn_rgba.cpp @@ -25,7 +25,7 @@ #include #include - +#include #include "ddslib.h" #include "../crunch/inc/crn_decomp.h" -- 2.39.2