Skip to content

Commit b43c671

Browse files
authored
Merge pull request #35022 from compnerd/34902
Concurrency: repair the build after #34902
2 parents 1ca5577 + a1d8819 commit b43c671

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

stdlib/public/Concurrency/Task.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@
2020
#include "swift/Runtime/HeapObject.h"
2121
#include "TaskPrivate.h"
2222

23+
#if defined(__APPLE__)
2324
// TODO: We shouldn't need this
2425
#include <dispatch/dispatch.h>
26+
#endif
2527

2628
using namespace swift;
2729
using FutureFragment = AsyncTask::FutureFragment;

0 commit comments

Comments
 (0)