Commit 866e9b2f authored by Christopher Dykes's avatar Christopher Dykes Committed by Facebook Github Bot 6

Switch uses of <sys/mman.h> to <folly/portability/SysMman.h>

Summary: Diff #3 of 14.

Reviewed By: mzlee

Differential Revision: D3110299

fbshipit-source-id: 39e4980df14b0b108b20dbbe57f2c5c6b361ea2e
parent 64ed63b2
......@@ -23,12 +23,14 @@
#include <type_traits>
#include <stdint.h>
#include <unistd.h>
#include <sys/mman.h>
#include <folly/Likely.h>
#include <folly/Bits.h>
#include <folly/Conv.h>
#include <folly/Likely.h>
#include <folly/Random.h>
#include <folly/detail/AtomicUnorderedMapUtils.h>
#include <folly/portability/SysMman.h>
#include <boost/type_traits/has_trivial_destructor.hpp>
#include <limits>
......
......@@ -21,11 +21,12 @@
#include <folly/Portability.h>
#include <folly/ScopeGuard.h>
#include <folly/detail/CacheLocality.h>
#include <folly/portability/SysMman.h>
#include <limits.h>
#include <pthread.h>
#include <stdio.h>
#include <string.h>
#include <sys/mman.h>
#include <unistd.h>
#include <utility>
......
......@@ -14,10 +14,12 @@
* limitations under the License.
*/
#include <sys/mman.h>
#include <cstdlib>
#include <folly/FileUtil.h>
#include <folly/MemoryMapping.h>
#include <folly/portability/SysMman.h>
#include <gtest/gtest.h>
namespace folly {
......
......@@ -20,8 +20,8 @@
#include <folly/Range.h>
#include <folly/portability/Memory.h>
#include <folly/portability/SysMman.h>
#include <sys/mman.h>
#include <array>
#include <iterator>
#include <limits>
......
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