1 From 64a64be7ffb5a84f27daa9f37ae8ad92800943d3 Mon Sep 17 00:00:00 2001
2 From: Sergei Trofimovich <slyich@gmail.com>
3 Date: Mon, 23 May 2022 23:12:31 +0100
4 Subject: [PATCH] parser/capability.h: add missing <cstdint> include
6 Without the change apparmor build fails on this week's gcc-13 snapshot as:
8 capability.h:66:6: error: variable or field '__debug_capabilities' declared void
9 66 | void __debug_capabilities(uint64_t capset, const char *name);
10 | ^~~~~~~~~~~~~~~~~~~~
11 capability.h:66:27: error: 'uint64_t' was not declared in this scope
12 66 | void __debug_capabilities(uint64_t capset, const char *name);
14 capability.h:23:1: note: 'uint64_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
15 22 | #include <linux/capability.h>
16 +++ |+#include <cstdint>
19 parser/capability.h | 1 +
20 1 file changed, 1 insertion(+)
22 --- a/parser/capability.h
23 +++ b/parser/capability.h
25 #ifndef __AA_CAPABILITY_H
26 #define __AA_CAPABILITY_H
30 #define NO_BACKMAP_CAP 0xff