archrelease: copy trunk to extra-x86_64
[arch-packages.git] / chromium / trunk / iwyu-add-cstdint-for-uintptr_t-in-device.patch
blob79605c886ccd402fa7088007b151a90f0670366a
1 From 83de2fa6806fc337e61fef0bd156dc2602542db3 Mon Sep 17 00:00:00 2001
2 From: Stephan Hartmann <stha09@googlemail.com>
3 Date: Tue, 4 Apr 2023 16:10:03 +0000
4 Subject: [PATCH] IWYU: add cstdint for uintptr_t in device::OneWriterSeqLock
6 Bug: 957519
7 Change-Id: I283f5b0cc34a268bea5dcb03c34726cbec905ea7
8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4394541
9 Reviewed-by: Ken Rockot <rockot@google.com>
10 Commit-Queue: Ken Rockot <rockot@google.com>
11 Commit-Queue: Stephan Hartmann <stha09@googlemail.com>
12 Cr-Commit-Position: refs/heads/main@{#1126023}
13 ---
14 device/base/synchronization/one_writer_seqlock.h | 1 +
15 1 file changed, 1 insertion(+)
17 diff --git a/device/base/synchronization/one_writer_seqlock.h b/device/base/synchronization/one_writer_seqlock.h
18 index 528b6683ca2..e37a16b81be 100644
19 --- a/device/base/synchronization/one_writer_seqlock.h
20 +++ b/device/base/synchronization/one_writer_seqlock.h
21 @@ -6,6 +6,7 @@
22 #define DEVICE_BASE_SYNCHRONIZATION_ONE_WRITER_SEQLOCK_H_
24 #include <atomic>
25 +#include <cstdint>
26 #include <type_traits>
28 #include "base/atomicops.h"