1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-25 01:34:28 +03:00

bus: remove spurious include of <sys/capability.h>

They do not use any functions from libcap directly. The CAP_SYS_ADMIN constant
in use by bus-objects.c comes from <linux/capability.h> imported through
"missing.h". The "missing.h" header is imported through "util.h" which gets
imported in "bus-util.h".

Tested that everything builds cleanly after this change.
This commit is contained in:
Filipe Brandenburger 2014-12-23 10:38:50 -08:00 committed by Zbigniew Jędrzejewski-Szmek
parent 9bb0c7cfbb
commit 946be29c98
2 changed files with 0 additions and 3 deletions

View File

@ -19,8 +19,6 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
#include <sys/capability.h>
#include "strv.h"
#include "set.h"
#include "bus-internal.h"

View File

@ -20,7 +20,6 @@
***/
#include <sys/socket.h>
#include <sys/capability.h>
#include "systemd/sd-daemon.h"