Fix the build of detail/CacheLocality.h on Windows
authorChristopher Dykes <cdykes@fb.com>
Mon, 19 Jun 2017 07:04:43 +0000 (00:04 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Mon, 19 Jun 2017 07:20:11 +0000 (00:20 -0700)
Summary: It was broken by D5139886 which added a call to `std::__throw_bad_alloc` without first including the correct portability header.

Reviewed By: yfeldblum

Differential Revision: D5273016

fbshipit-source-id: cac1772f41ae5942a29cefa69fb07d9cf94b5aab

folly/detail/CacheLocality.h

index b7aa2553219db205e950c2672205451f64e59876..741d30f8b01fbaf2209116f810688ec56373ff3c 100644 (file)
@@ -34,6 +34,7 @@
 #include <folly/Memory.h>
 #include <folly/Portability.h>
 #include <folly/ThreadId.h>
+#include <folly/portability/BitsFunctexcept.h>
 #include <folly/portability/Memory.h>
 
 namespace folly {