From 06064ddfc3d896e897be08d1e2b818852a1ad79f Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Tue, 19 Jul 2016 09:45:24 -0700 Subject: [PATCH] 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 --- folly/LockTraitsBoost.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.34.1