commit | 23cefd04177be4020c00edc681d1765b76e2cd0b | [log] [tgz] |
---|---|---|
author | Justin Cohen <justincohen@google.com> | Wed Jun 22 23:34:31 2022 |
committer | Crashpad LUCI CQ <crashpad-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jun 23 03:28:39 2022 |
tree | 90361a7aedb739124d1e8860a006dfe4f58fa275 | |
parent | 21546d85140d9e19689707a88c092e7c5eace1c8 [diff] |
Fix Chromium compile. Fixes error: invalid operands to binary expression ('std::ostream' (aka 'basic_ostream<char>') and 'const char[19]') << "pthread_setname_np"; in test/scoped_set_thread_name_posix.cc Change-Id: I77eeeee9c828d563aaa15331733001e522a04642 Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/3714964 Reviewed-by: Mark Mentovai <mark@chromium.org> Commit-Queue: Justin Cohen <justincohen@chromium.org>
diff --git a/test/scoped_set_thread_name_posix.cc b/test/scoped_set_thread_name_posix.cc index 4720bc0..92c61bb 100644 --- a/test/scoped_set_thread_name_posix.cc +++ b/test/scoped_set_thread_name_posix.cc
@@ -17,6 +17,7 @@ #include <errno.h> #include <pthread.h> +#include <ostream> #include <string> #include "base/check.h"