mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
Merge parser/capability.h: add missing <cstdint> include
Without the change apparmor build fails on this week's gcc-13 snapshot as: capability.h:66:6: error: variable or field '__debug_capabilities' declared void 66 | void __debug_capabilities(uint64_t capset, const char *name); | ^~~~~~~~~~~~~~~~~~~~ capability.h:66:27: error: 'uint64_t' was not declared in this scope 66 | void __debug_capabilities(uint64_t capset, const char *name); | ^~~~~~~~ capability.h:23:1: note: 'uint64_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'? 22 | #include <linux/capability.h> +++ |+#include <cstdint> 23 | MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/882 Approved-by: John Johansen <john@jjmx.net> Merged-by: John Johansen <john@jjmx.net>
This commit is contained in:
commit
a61ae7b2f0
1 changed files with 1 additions and 0 deletions
|
@ -19,6 +19,7 @@
|
|||
#ifndef __AA_CAPABILITY_H
|
||||
#define __AA_CAPABILITY_H
|
||||
|
||||
#include <cstdint>
|
||||
#include <linux/capability.h>
|
||||
|
||||
#define NO_BACKMAP_CAP 0xff
|
||||
|
|
Loading…
Add table
Reference in a new issue