From 2d375eb5659f6f12d34ddce97e612060ded54a2a Mon Sep 17 00:00:00 2001 From: af4t Date: Wed, 30 Dec 2015 02:17:09 -0500 Subject: [PATCH] MSVC 2015 wants #included for std::min. If any other compilers require the same, feel free to alter the #if test. --- common/shareddb.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common/shareddb.cpp b/common/shareddb.cpp index 402d77e76..0890f3fcf 100644 --- a/common/shareddb.cpp +++ b/common/shareddb.cpp @@ -1,6 +1,10 @@ #include #include +#if defined(_MSC_VER) && _MSC_VER >= 1900 + #include +#endif + #include "classes.h" #include "eq_packet_structs.h" #include "eqemu_exception.h"