summaryrefslogtreecommitdiff
path: root/src/mongo/util/progress_meter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/util/progress_meter.cpp')
-rw-r--r--src/mongo/util/progress_meter.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mongo/util/progress_meter.cpp b/src/mongo/util/progress_meter.cpp
index 85594e1ab02..7b57d76f0e0 100644
--- a/src/mongo/util/progress_meter.cpp
+++ b/src/mongo/util/progress_meter.cpp
@@ -29,7 +29,10 @@
#define MONGO_LOG_DEFAULT_COMPONENT ::mongo::logger::LogComponent::kDefault
-#include "mongo/pch.h" // needed for log.h
+#define MONGO_PCH_WHITELISTED
+#include "mongo/platform/basic.h"
+#include "mongo/pch.h"
+#undef MONGO_PCH_WHITELISTED // needed for log.h
#include "mongo/util/progress_meter.h"