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 <mbonadei@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Auto-Submit: Hans Wennborg <hans@chromium.org>
Cr-Commit-Position: refs/heads/main@{#39544}
This commit is contained in:
Hans Wennborg 2023-03-13 13:04:09 +01:00 committed by WebRTC LUCI CQ
parent 7e2c89ce97
commit 1ee02d4580

View file

@ -13,6 +13,9 @@
#include <functional>
#include <string>
#if !defined(WEBRTC_WIN)
#include <pthread.h>
#endif
#include "absl/strings/string_view.h"
#include "absl/types/optional.h"