diff options
Diffstat (limited to 'src/mongo/util/safe_num.cpp')
-rw-r--r-- | src/mongo/util/safe_num.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mongo/util/safe_num.cpp b/src/mongo/util/safe_num.cpp index 7f683a58ce3..437a1818f2c 100644 --- a/src/mongo/util/safe_num.cpp +++ b/src/mongo/util/safe_num.cpp @@ -28,7 +28,10 @@ #include <sstream> #include <boost/static_assert.hpp> -#include "mongo/pch.h" // for malloc/realloc/INFINITY pulled from bson +#define MONGO_PCH_WHITELISTED +#include "mongo/platform/basic.h" +#include "mongo/pch.h" +#undef MONGO_PCH_WHITELISTED // for malloc/realloc/INFINITY pulled from bson #include "mongo/bson/bsontypes.h" #include "mongo/util/safe_num.h" |