Skip to content

Commit a6ae1e0

Browse files
chadaustinfacebook-github-bot
authored andcommitted
break futex dependency on unistd portability header
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
1 parent 9176538 commit a6ae1e0

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

eden/common/telemetry/SubprocessScribeLogger.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#include "eden/common/telemetry/SubprocessScribeLogger.h"
99

1010
#include <folly/logging/xlog.h>
11+
#include <folly/portability/Unistd.h>
1112
#include <folly/system/ThreadName.h>
1213

1314
namespace {

eden/common/utils/FileDescriptor.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
#include <folly/Try.h>
1111
#include <folly/portability/IOVec.h>
12+
#include <folly/portability/SysTypes.h>
1213

1314
#include "eden/common/utils/PathFuncs.h"
1415

0 commit comments

Comments
 (0)