diff --git a/folly/portability/PThread.cpp b/folly/portability/PThread.cpp index 2126ec0..ef82ade 100644 --- a/folly/portability/PThread.cpp +++ b/folly/portability/PThread.cpp @@ -20,6 +20,8 @@ #include #include #include +#include +#include #include @@ -691,7 +693,7 @@ int pthread_setspecific(pthread_key_t key, const void* value) { boost::detail::thread::cleanup_caller_t(), boost::detail::thread::cleanup_func_t(), #else - boost::shared_ptr(), + 0,0, #endif const_cast(value), false);