projects
/
folly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db54a90
)
add missing include
author
Owen Yamauchi
<oyamauchi@fb.com>
Thu, 30 May 2013 20:24:04 +0000
(13:24 -0700)
committer
Owen Yamauchi
<oyamauchi@fb.com>
Mon, 3 Jun 2013 19:23:39 +0000
(12:23 -0700)
Summary:
Newer versions of boost fail without this. I guess mutex.hpp doesn't
include lock_guard.hpp indirectly anymore, or something.
Test Plan:
built on OS X. This was part of what I had to do for my OS
X-building attempts from a few weeks ago.
Reviewed By: delong.j@fb.com
FB internal diff:
D830157
folly/detail/ThreadLocalDetail.h
patch
|
blob
|
history
diff --git
a/folly/detail/ThreadLocalDetail.h
b/folly/detail/ThreadLocalDetail.h
index 537e6b6b7e763ec6447fcb0fa9b96be11880a70e..205d2e521763728689f3fc7a845a00a9377ad1d0 100644
(file)
--- a/
folly/detail/ThreadLocalDetail.h
+++ b/
folly/detail/ThreadLocalDetail.h
@@
-23,6
+23,7
@@
#include <string>
#include <vector>
+#include <boost/thread/locks.hpp>
#include <boost/thread/mutex.hpp>
#include <glog/logging.h>