diff options
author | Giacomo Pozzoni <giacomopoz@gmail.com> | 2021-10-23 12:39:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-23 12:39:39 +0200 |
commit | 235bfad3291b721c4681c0bae91ae72dd4472d89 (patch) | |
tree | 0004b4ef635a1521a4bb67b0d1876768c0109ca8 | |
parent | e615b71509c018cb856680698f28bcdf83cde032 (diff) |
Core/Misc: Fix no-pch GCC 11 build (#27150)
Add missing <limits> header
See http://gcc.gnu.org/gcc-11/porting_to.html for more info, section "Header dependency changes"
"Some C++ Standard Library headers have been changed to no longer include other headers that they do need to depend on. As such, C++ programs that used standard library components without including the right headers will no longer compile."
-rw-r--r-- | src/server/game/AI/SmartScripts/SmartScriptMgr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/game/AI/SmartScripts/SmartScriptMgr.h b/src/server/game/AI/SmartScripts/SmartScriptMgr.h index 9b6e8a22d12..d422377b628 100644 --- a/src/server/game/AI/SmartScripts/SmartScriptMgr.h +++ b/src/server/game/AI/SmartScripts/SmartScriptMgr.h @@ -22,6 +22,7 @@ #include "EnumFlag.h" #include "ObjectGuid.h" #include "WaypointDefines.h" +#include <limits> #include <map> #include <string> #include <unordered_map> |