Include <folly/portability/Windows.h> in folly::format
authorChristopher Dykes <cdykes@fb.com>
Thu, 26 May 2016 17:08:57 +0000 (10:08 -0700)
committerFacebook Github Bot 3 <facebook-github-bot-3-bot@fb.com>
Thu, 26 May 2016 17:23:38 +0000 (10:23 -0700)
Summary:
Because apparently I didn't actually add the `Windows.h` include when I added support for MSVC.
This is safe for all platforms because the portability header only includes `Windows.h` when compiling on Windows.

Reviewed By: yfeldblum

Differential Revision: D3347785

fbshipit-source-id: 4f3e4e6c11953e2588b6fed287324a92e3ef8873

folly/Format-inl.h

index 48125dc5df3529dcc1cb154d1666a62367cf1208..d2a38c0ed02a6914c03f763f6edbaeb7e9b1c8ee 100644 (file)
@@ -28,6 +28,7 @@
 #include <folly/Exception.h>
 #include <folly/FormatTraits.h>
 #include <folly/Traits.h>
+#include <folly/portability/Windows.h>
 
 // Ignore -Wformat-nonliteral warnings within this file
 #pragma GCC diagnostic push