Patrick Williams | 864cc43 | 2023-02-09 14:54:44 -0600 | [diff] [blame^] | 1 | From 5d8218b8a1b5bc71e2a0cf543a000e194daba599 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Sun, 29 Jan 2023 17:15:30 -0800 |
| 4 | Subject: [PATCH] free_mon: Include missing <cstdint> |
| 5 | |
| 6 | gcc 13 moved some includes around and as a result <cstdint> is no |
| 7 | longer transitively included [1]. Explicitly include it |
| 8 | for uintXX_t. |
| 9 | |
| 10 | [1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes |
| 11 | |
| 12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 13 | --- |
| 14 | src/mongo/db/free_mon/free_mon_options.h | 1 + |
| 15 | 1 file changed, 1 insertion(+) |
| 16 | |
| 17 | --- a/src/mongo/db/free_mon/free_mon_options.h |
| 18 | +++ b/src/mongo/db/free_mon/free_mon_options.h |
| 19 | @@ -29,6 +29,7 @@ |
| 20 | |
| 21 | #pragma once |
| 22 | |
| 23 | +#include <cstdint> |
| 24 | #include <string> |
| 25 | #include <vector> |
| 26 | |