#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>
#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>
* 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 {
#include <folly/Range.h>
#include <folly/portability/Memory.h>
+#include <folly/portability/SysMman.h>
-#include <sys/mman.h>
#include <array>
#include <iterator>
#include <limits>