summaryrefslogtreecommitdiff
path: root/security/apparmor/policy_unpack.c
diff options
context:
space:
mode:
authorRyan Lee <ryan.lee@canonical.com>2026-02-12 13:16:03 -0800
committerJohn Johansen <john.johansen@canonical.com>2026-06-29 10:26:21 -0700
commit622ec01756ee9d483662655ff7315cb0e23afd46 (patch)
treec926b5662ee5f3a05fc3962e2540b7d2fd544aae /security/apparmor/policy_unpack.c
parentdc59e4fea9d83f03bad6bddf3fa2e52491777482 (diff)
downloadlinux-next-622ec01756ee9d483662655ff7315cb0e23afd46.tar.gz
linux-next-622ec01756ee9d483662655ff7315cb0e23afd46.zip
apparmor: fix net.h and policy.h circular include pattern
While the #ifdef guards prevent the circular include from blowing up, policy.h does not actually need anything from net.h. Remove, that include and instead include net.h in the other files that need it. Signed-off-by: Ryan Lee <ryan.lee@canonical.com> Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security/apparmor/policy_unpack.c')
-rw-r--r--security/apparmor/policy_unpack.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/apparmor/policy_unpack.c b/security/apparmor/policy_unpack.c
index d9dcff167c48..bce2c47bdfe5 100644
--- a/security/apparmor/policy_unpack.c
+++ b/security/apparmor/policy_unpack.c
@@ -25,6 +25,7 @@
#include "include/crypto.h"
#include "include/file.h"
#include "include/match.h"
+#include "include/net.h"
#include "include/path.h"
#include "include/policy.h"
#include "include/policy_unpack.h"