diff options
author | Filipe Brandenburger <filbranden@google.com> | 2014-12-23 10:38:43 -0800 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-12-25 10:56:13 -0500 |
commit | d920e59c7df63300e5b5191d2a4be7b3baac6ea8 (patch) | |
tree | 4b99c2fad9930acc91bc0e3e6ae75f0585db4b5b /src/login/logind-session-dbus.c | |
parent | f01ae8260d90ccff2f299242cd370ab58ea723f0 (diff) |
logind: remove spurious include of <sys/capability.h>
They do not use any functions from libcap directly. The CAP_* constants in use
through these files come from "missing.h" which will import <linux/capability.h>
and complement it with CAP_* constants not defined by the current kernel
headers. The "missing.h" header is imported through "util.h" which gets
imported in "logind.h".
Tested that "systemd-logind" builds cleanly and works after this change.
Diffstat (limited to 'src/login/logind-session-dbus.c')
-rw-r--r-- | src/login/logind-session-dbus.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/login/logind-session-dbus.c b/src/login/logind-session-dbus.c index 8607d03265..4e75d5b209 100644 --- a/src/login/logind-session-dbus.c +++ b/src/login/logind-session-dbus.c @@ -21,7 +21,6 @@ #include <errno.h> #include <string.h> -#include <sys/capability.h> #include "util.h" #include "strv.h" |