Patrick Williams | b9af875 | 2023-01-30 13:28:01 -0600 | [diff] [blame^] | 1 | From 687d9fb9e3de832379680e9d5268331011c92afa Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Thu, 26 Jan 2023 08:53:26 -0800 |
| 4 | Subject: [PATCH] drd/tests: Include missing <cstdint> |
| 5 | |
| 6 | gcc 13 moved some includes around and as a result <cstdint> is no longer |
| 7 | transitively included [1]. Explicitly include it for uint{32,64}_t. |
| 8 | |
| 9 | Fixes |
| 10 | tsan_thread_wrappers_pthread.h:91:9: error: 'int64_t' does not name a type |
| 11 | |
| 12 | [1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes |
| 13 | |
| 14 | Upstream-Status: Submitted [https://bugs.kde.org/show_bug.cgi?id=464859] |
| 15 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 16 | --- |
| 17 | drd/tests/tsan_thread_wrappers_pthread.h | 1 + |
| 18 | 1 file changed, 1 insertion(+) |
| 19 | |
| 20 | diff --git a/drd/tests/tsan_thread_wrappers_pthread.h b/drd/tests/tsan_thread_wrappers_pthread.h |
| 21 | index f15e6ad..4cc8062 100644 |
| 22 | --- a/drd/tests/tsan_thread_wrappers_pthread.h |
| 23 | +++ b/drd/tests/tsan_thread_wrappers_pthread.h |
| 24 | @@ -55,6 +55,7 @@ |
| 25 | #define NO_TLS |
| 26 | #endif |
| 27 | |
| 28 | +#include <cstdint> |
| 29 | #include <string> |
| 30 | using namespace std; |
| 31 | |
| 32 | -- |
| 33 | 2.39.1 |
| 34 | |