Commit 79fe4911 authored by Christopher Dykes's avatar Christopher Dykes Committed by Facebook Github Bot 6

Switch uses of <sys/resource.h> to <folly/portability/SysResource.h>

Summary: Diff #4 of 14.

Reviewed By: mzlee

Differential Revision: D3181101

fbshipit-source-id: d0db67ae19ee71e6a251c299ef672baead3ab9d9
parent 866e9b2f
......@@ -26,7 +26,7 @@
#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.
......
......@@ -17,6 +17,7 @@
#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>
......@@ -26,7 +27,6 @@
#include <thread>
#include <utility>
#include <unistd.h>
#include <sys/resource.h>
#include <gtest/gtest.h>
......
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