Include the time portability header in GlogStyleFormatter.cpp
authorChristopher Dykes <cdykes@fb.com>
Thu, 15 Jun 2017 23:52:29 +0000 (16:52 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Fri, 16 Jun 2017 00:05:33 +0000 (17:05 -0700)
Summary: It is needed on Windows for the `localtime_r` function.

Reviewed By: simpkins

Differential Revision: D5259944

fbshipit-source-id: e380ecf42252ecabec168cf87668ace3ff4c0a9f

folly/experimental/logging/GlogStyleFormatter.cpp

index cf8c7a7b47ba865fd1643579f3b1da3f48abf405..44b657476839c547274e4a7675ff56efe013d7fa 100644 (file)
@@ -18,6 +18,7 @@
 #include <folly/Format.h>
 #include <folly/experimental/logging/LogLevel.h>
 #include <folly/experimental/logging/LogMessage.h>
+#include <folly/portability/Time.h>
 
 namespace {
 using folly::StringPiece;