From 1ee02d4580df8b496b780a2ef471be85263ade73 Mon Sep 17 00:00:00 2001 From: Hans Wennborg Date: Mon, 13 Mar 2023 13:04:09 +0100 Subject: [PATCH] Add missing include of pthread.h This presumably worked before because some libc++ header included it transitively, but that's no longer the case. Bug: chromium:1423839 Change-Id: I6ed1c3474c1bfa02084a665c0b9e249484ac50d7 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/297420 Reviewed-by: Mirko Bonadei Commit-Queue: Mirko Bonadei Auto-Submit: Hans Wennborg Cr-Commit-Position: refs/heads/main@{#39544} --- rtc_base/platform_thread.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rtc_base/platform_thread.h b/rtc_base/platform_thread.h index 3ab2761f43..befd61849d 100644 --- a/rtc_base/platform_thread.h +++ b/rtc_base/platform_thread.h @@ -13,6 +13,9 @@ #include #include +#if !defined(WEBRTC_WIN) +#include +#endif #include "absl/strings/string_view.h" #include "absl/types/optional.h"