Create the sys/mman.h portability header
[folly.git] / folly / IndexedMemPool.h
index 8cfe0e7fccf40e1fa6098b148d8846b2153822b5..f8771f33f01fd18c8619957ff8746e1e7ed08cf3 100644 (file)
 #include <stdint.h>
 #include <assert.h>
 #include <unistd.h>
-#include <sys/mman.h>
 #include <boost/noncopyable.hpp>
 #include <folly/AtomicStruct.h>
 #include <folly/detail/CacheLocality.h>
+#include <folly/portability/SysMman.h>
 
 // Ignore shadowing warnings within this file, so includers can use -Wshadow.
 #pragma GCC diagnostic push