From 3d076ea588eb3c7f334133b4c31172a14beadf5b Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Thu, 2 Feb 2023 20:18:27 -0800
Subject: [PATCH] Add <cstdint> for uintXX_t types

gcc 13 moved some includes around and as a result <cstdint> is no
longer transitively included [1]. Explicitly include it
for uintXX_t.

[1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes

Upstream-Status: Submitted [https://github.com/falcosecurity/libs/pull/862]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 userspace/libsinsp/filter/parser.h | 1 +
 userspace/libsinsp/filter_value.h  | 1 +
 2 files changed, 2 insertions(+)

--- a/userspace/libsinsp/filter/parser.h
+++ b/userspace/libsinsp/filter/parser.h
@@ -18,6 +18,7 @@ limitations under the License.
 #pragma once
 
 #include "ast.h"
+#include <cstdint>
 
 //
 // Context-free Grammar for Sinsp Filters
--- a/userspace/libsinsp/filter_value.h
+++ b/userspace/libsinsp/filter_value.h
@@ -18,6 +18,7 @@ limitations under the License.
 #pragma once
 
 #include <string.h>
+#include <cstdint>
 #include <utility>
 
 // Used for CO_IN/CO_PMATCH filterchecks using PT_CHARBUFs to allow
