diff --git a/src/common/container_hash.h b/src/common/container_hash.h
index cfc5dfea8d..a5e3577452 100644
--- a/src/common/container_hash.h
+++ b/src/common/container_hash.h
@@ -3,6 +3,7 @@
 // SPDX-License-Identifier: BSL-1.0
 
 #include <array>
+#include <climits>
 #include <cstdint>
 #include <limits>
 #include <type_traits>