[systemd-devel] [PATCH 7/9] capabilities: remove spurious include of <sys/capability.h> from pam_systemd.c

Filipe Brandenburger filbranden at google.com
Tue Dec 23 10:38:48 PST 2014


It does not use any functions or constants from libcap directly.

Tested that "pam_systemd.la" builds cleanly and works after this change.
---
 src/login/pam_systemd.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/login/pam_systemd.c b/src/login/pam_systemd.c
index 111e2b7..d5b29c8 100644
--- a/src/login/pam_systemd.c
+++ b/src/login/pam_systemd.c
@@ -24,7 +24,6 @@
 #include <sys/file.h>
 #include <pwd.h>
 #include <endian.h>
-#include <sys/capability.h>
 
 #include <security/pam_modules.h>
 #include <security/_pam_macros.h>
-- 
1.8.3.1



More information about the systemd-devel mailing list