projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix rest of non-portable includes
[folly.git]
/
folly
/
detail
/
Futex.cpp
diff --git
a/folly/detail/Futex.cpp
b/folly/detail/Futex.cpp
index edaa279e77ffb2eaccc31eeed8bfe7451d57b8f4..f8a8dbc7819182ad1991948f9863a7d06fbcfa62 100644
(file)
--- a/
folly/detail/Futex.cpp
+++ b/
folly/detail/Futex.cpp
@@
-15,18
+15,18
@@
*/
#include <folly/detail/Futex.h>
*/
#include <folly/detail/Futex.h>
+#include <boost/intrusive/list.hpp>
+#include <folly/Hash.h>
+#include <folly/ScopeGuard.h>
+#include <folly/portability/SysSyscall.h>
#include <stdint.h>
#include <string.h>
#include <stdint.h>
#include <string.h>
+#include <cerrno>
#include <condition_variable>
#include <mutex>
#include <condition_variable>
#include <mutex>
-#include <boost/intrusive/list.hpp>
-#include <folly/Hash.h>
-#include <folly/ScopeGuard.h>
#ifdef __linux__
#ifdef __linux__
-# include <errno.h>
-# include <linux/futex.h>
-# include <sys/syscall.h>
+#include <linux/futex.h>
#endif
using namespace std::chrono;
#endif
using namespace std::chrono;