[Threading] A few include tweaks.

The threading implementations need to include Impl.h, not just their
specific variant, to pick up the `stack_bounds` type.

Also fix a newly exposed problem with Atomic.h.

rdar://90776105
This commit is contained in:
Alastair Houghton
2022-05-06 14:26:44 +01:00
parent a987cb9eac
commit 1c6618eca7
5 changed files with 6 additions and 5 deletions

View File

@@ -20,7 +20,7 @@
#include <pthread_np.h>
#endif
#include "swift/Threading/Impl/Pthreads.h"
#include "swift/Threading/Impl.h"
#include "swift/Threading/Errors.h"
namespace {