Skip to content

Commit

Permalink
Switch uses of <sys/resource.h> to <folly/portability/SysResource.h>
Browse files Browse the repository at this point in the history
Summary: Diff #4 of 14.

Reviewed By: mzlee

Differential Revision: D3181101

fbshipit-source-id: d0db67ae19ee71e6a251c299ef672baead3ab9d9
  • Loading branch information
Orvid authored and Facebook Github Bot 6 committed May 30, 2016
1 parent 866e9b2 commit 79fe491
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion folly/SharedMutex.h
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion folly/test/MPMCQueueTest.cpp
Expand Up @@ -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>

Expand All @@ -26,7 +27,6 @@
#include <thread>
#include <utility>
#include <unistd.h>
#include <sys/resource.h>

#include <gtest/gtest.h>

Expand Down

0 comments on commit 79fe491

Please sign in to comment.