From: Wez Furlong Date: Tue, 19 Jul 2016 16:45:24 +0000 (-0700) Subject: folly: unconditionally include boost mutex definitions on macOS X-Git-Tag: 2016.07.26~31 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=06064ddfc3d896e897be08d1e2b818852a1ad79f;p=folly.git folly: unconditionally include boost mutex definitions on macOS Summary: macOS doesn't have timedwait functionality and this header file was gating including the boost headers on that check which caused dependent modules to fail to compile because `boost::mutex` and `boost::recursive_mutex` were not known to the compiler. Reviewed By: yfeldblum Differential Revision: D3585470 fbshipit-source-id: 7f8d9603e95ce01328103c7c6ac0bc75a35ddf4d --- diff --git a/folly/LockTraitsBoost.h b/folly/LockTraitsBoost.h index 914efd58..459a5fe8 100644 --- a/folly/LockTraitsBoost.h +++ b/folly/LockTraitsBoost.h @@ -22,11 +22,11 @@ */ #pragma once +#include #include #if FOLLY_LOCK_TRAITS_HAVE_TIMED_MUTEXES -#include namespace folly {