Commit b8c8b1f8 authored by Michael Lee's avatar Michael Lee Committed by Facebook Github Bot 6

Include sys/syscall.h to SysMembarrier

Summary: It calls syscall, but does not include the header.

Reviewed By: knekritz

Differential Revision: D3586636

fbshipit-source-id: 2ef05fc4b88f236a84b79afa708e98fe21529685
parent 58ecc903
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#include <mutex> #include <mutex>
#include <folly/Portability.h> #include <folly/Portability.h>
#include <folly/portability/SysSyscall.h>
#include <folly/portability/Unistd.h> #include <folly/portability/Unistd.h>
#if !defined(__NR_membarrier) && FOLLY_X64 && !FOLLY_MOBILE && \ #if !defined(__NR_membarrier) && FOLLY_X64 && !FOLLY_MOBILE && \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment