Skip to content

Commit 5aafef1

Browse files
committed
Fix allocator shim on Mac
1 parent 0c3d324 commit 5aafef1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/net/tools/naive/naive_proxy_bin.cc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,12 @@
8585
#include "base/allocator/partition_allocator/src/partition_alloc/shim/allocator_shim.h"
8686
#endif
8787

88+
#if BUILDFLAG(IS_APPLE)
89+
#if PA_BUILDFLAG(USE_ALLOCATOR_SHIM)
90+
#include "partition_alloc/shim/allocator_shim.h"
91+
#endif
92+
#endif // BUILDFLAG(IS_MAC)
93+
8894
namespace {
8995

9096
constexpr int kListenBackLog = 512;

0 commit comments

Comments
 (0)