diff options
Diffstat (limited to 'meta-selftest/recipes-extended/sysdig/sysdig-selftest/0055-Add-cstdint-for-uintXX_t-types.patch')
-rw-r--r-- | meta-selftest/recipes-extended/sysdig/sysdig-selftest/0055-Add-cstdint-for-uintXX_t-types.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/meta-selftest/recipes-extended/sysdig/sysdig-selftest/0055-Add-cstdint-for-uintXX_t-types.patch b/meta-selftest/recipes-extended/sysdig/sysdig-selftest/0055-Add-cstdint-for-uintXX_t-types.patch new file mode 100644 index 0000000000..e564958dad --- /dev/null +++ b/meta-selftest/recipes-extended/sysdig/sysdig-selftest/0055-Add-cstdint-for-uintXX_t-types.patch | |||
@@ -0,0 +1,38 @@ | |||
1 | From 3d076ea588eb3c7f334133b4c31172a14beadf5b Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Thu, 2 Feb 2023 20:18:27 -0800 | ||
4 | Subject: [PATCH] Add <cstdint> for uintXX_t types | ||
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 | Upstream-Status: Submitted [https://github.com/falcosecurity/libs/pull/862] | ||
13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
14 | --- | ||
15 | userspace/libsinsp/filter/parser.h | 1 + | ||
16 | userspace/libsinsp/filter_value.h | 1 + | ||
17 | 2 files changed, 2 insertions(+) | ||
18 | |||
19 | --- a/userspace/libsinsp/filter/parser.h | ||
20 | +++ b/userspace/libsinsp/filter/parser.h | ||
21 | @@ -18,6 +18,7 @@ limitations under the License. | ||
22 | #pragma once | ||
23 | |||
24 | #include "ast.h" | ||
25 | +#include <cstdint> | ||
26 | |||
27 | // | ||
28 | // Context-free Grammar for Sinsp Filters | ||
29 | --- a/userspace/libsinsp/filter_value.h | ||
30 | +++ b/userspace/libsinsp/filter_value.h | ||
31 | @@ -18,6 +18,7 @@ limitations under the License. | ||
32 | #pragma once | ||
33 | |||
34 | #include <string.h> | ||
35 | +#include <cstdint> | ||
36 | #include <utility> | ||
37 | |||
38 | // Used for CO_IN/CO_PMATCH filterchecks using PT_CHARBUFs to allow | ||