Skip to content

Commit

Permalink
break futex dependency on unistd portability header
Browse files Browse the repository at this point in the history
Summary: Futex.h does not need portability/Unistd.h, and this reduces the include footprint for SharedMutex.

Reviewed By: Orvid

Differential Revision: D47388008

fbshipit-source-id: 4910f29ea711f53e5d69e32b63ed854c312acc08
  • Loading branch information
chadaustin authored and facebook-github-bot committed Jan 14, 2025
1 parent 2c74ae1 commit 090a94b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions wangle/acceptor/test/ConnectionManagerTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#include <folly/portability/GFlags.h>
#include <folly/portability/GMock.h>
#include <folly/portability/GTest.h>
#include <folly/portability/Unistd.h>

using namespace testing;
using namespace wangle;
Expand Down
1 change: 1 addition & 0 deletions wangle/client/persistence/test/FilePersistentCacheTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

#include <folly/executors/ManualExecutor.h>
#include <folly/futures/Barrier.h>
#include <folly/portability/Unistd.h>
#include <wangle/client/persistence/FilePersistentCache.h>
#include <wangle/client/persistence/test/TestUtil.h>

Expand Down
1 change: 1 addition & 0 deletions wangle/ssl/test/SSLCacheTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include <folly/io/async/AsyncSocket.h>
#include <folly/io/async/EventBase.h>
#include <folly/portability/GFlags.h>
#include <folly/portability/Unistd.h>
#include <folly/ssl/SSLSession.h>
#include <iostream>
#include <thread>
Expand Down

0 comments on commit 090a94b

Please sign in to comment.