]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
selinux-setup.c: drop redundant inclusion of selinux/selinux.h
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 8 Jun 2025 20:42:22 +0000 (05:42 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 9 Jun 2025 13:45:23 +0000 (22:45 +0900)
The header is anyway included by selinux-util.h in below.

src/core/selinux-setup.c

index a24af6d1c28440a15cae5967b426ee88261b6741..8e87b1be28b44dbda1b8055a0499572ed7ac1681 100644 (file)
@@ -2,10 +2,6 @@
 
 #include <unistd.h>
 
-#if HAVE_SELINUX
-#include <selinux/selinux.h>
-#endif
-
 #include "sd-messages.h"
 
 #include "errno-util.h"