From 98d1244e32df673959deb2ddd1484b72ed61d1c8 Mon Sep 17 00:00:00 2001 From: dumingyu Date: Fri, 6 Jan 2023 11:00:12 +0800 Subject: [PATCH] fix(codes/cpp): add climits headers This fixes clang++ compile error when using INT_MAX in PrintUtil. --- codes/cpp/include/PrintUtil.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/codes/cpp/include/PrintUtil.hpp b/codes/cpp/include/PrintUtil.hpp index 06397855b..e788d1650 100644 --- a/codes/cpp/include/PrintUtil.hpp +++ b/codes/cpp/include/PrintUtil.hpp @@ -9,6 +9,7 @@ #include #include #include +#include #include "ListNode.hpp" #include "TreeNode.hpp"