#include <folly/detail/CacheLocality.h>
#include <folly/detail/Futex.h>
#include <folly/portability/Asm.h>
-#include <sys/resource.h>
+#include <folly/portability/SysResource.h>
// SharedMutex is a reader-writer lock. It is small, very fast, scalable
// on multi-core, and suitable for use when readers or writers may block.
#include <folly/MPMCQueue.h>
#include <folly/Format.h>
#include <folly/Memory.h>
+#include <folly/portability/SysResource.h>
#include <folly/portability/SysTime.h>
#include <folly/test/DeterministicSchedule.h>
#include <thread>
#include <utility>
#include <unistd.h>
-#include <sys/resource.h>
#include <gtest/gtest.h>