From 26d1b0ca022dbd28322b0ce535658df3123f0057 Mon Sep 17 00:00:00 2001 From: Yonggang Luo Date: Sun, 25 Sep 2022 04:40:47 +0800 Subject: [PATCH] r600/sfn: Fixes 'numeric_limits' is not a member of 'std' error in sfn/sfn_instr.cpp The error message is: ../src/gallium/drivers/r600/sfn/sfn_instr.cpp:46:20: error: 'numeric_limits' is not a member of 'std' 46 | m_block_id(std::numeric_limits::max()), | ^~~~~~~~~~~~~~ ../src/gallium/drivers/r600/sfn/sfn_instr.cpp:46:35: error: expected primary-expression before 'int' 46 | m_block_id(std::numeric_limits::max()), Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7337 Signed-off-by: Yonggang Luo Reviewed-by: Gert Wollny Part-of: --- src/gallium/drivers/r600/sfn/sfn_instr.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/r600/sfn/sfn_instr.cpp b/src/gallium/drivers/r600/sfn/sfn_instr.cpp index cbc3b3afaa1..221f84d0f2c 100644 --- a/src/gallium/drivers/r600/sfn/sfn_instr.cpp +++ b/src/gallium/drivers/r600/sfn/sfn_instr.cpp @@ -33,6 +33,7 @@ #include "sfn_instr_controlflow.h" #include +#include #include #include