From 52277670215227271297c0cbca5b847416cfb819 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Fri, 20 Mar 2026 21:50:10 +0100 Subject: [PATCH] core: Add two more IWYU pragmas If selinux isn't enabled, these are reported as unused, so let's add pragmas to tell clang-tidy to keep these. --- src/core/dbus.c | 2 +- src/core/load-fragment.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/dbus.c b/src/core/dbus.c index 30d265ec6c..f5a117d2bd 100644 --- a/src/core/dbus.c +++ b/src/core/dbus.c @@ -39,7 +39,7 @@ #include "path-util.h" #include "pidref.h" #include "process-util.h" -#include "selinux-access.h" +#include "selinux-access.h" /* IWYU pragma: keep */ #include "serialize.h" #include "set.h" #include "special.h" diff --git a/src/core/load-fragment.c b/src/core/load-fragment.c index d1f74a8fd7..cef01ab776 100644 --- a/src/core/load-fragment.c +++ b/src/core/load-fragment.c @@ -57,7 +57,7 @@ #include "reboot-util.h" #include "seccomp-util.h" #include "securebits-util.h" -#include "selinux-util.h" +#include "selinux-util.h" /* IWYU pragma: keep */ #include "set.h" #include "show-status.h" #include "signal-util.h"