From: Yu Watanabe Date: Mon, 19 Jan 2026 15:31:39 +0000 (+0900) Subject: audit-type: include alloc-util.h for newa() (#40389) X-Git-Tag: v260-rc1~361 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=158090795392e149e2162c3a0fca32f1e4ab5ce5;p=thirdparty%2Fsystemd.git audit-type: include alloc-util.h for newa() (#40389) The macro audit_type_name_alloca() needs newa() which is defined in alloc-util.h. --- diff --git a/src/libsystemd/sd-journal/audit-type.h b/src/libsystemd/sd-journal/audit-type.h index a92567d184c..fa43233c692 100644 --- a/src/libsystemd/sd-journal/audit-type.h +++ b/src/libsystemd/sd-journal/audit-type.h @@ -5,6 +5,8 @@ #include "sd-forward.h" +#include "alloc-util.h" /* IWYU pragma: keep */ + DECLARE_STRING_TABLE_LOOKUP(audit_type, int); /* This is inspired by DNS TYPEnnn formatting */