chiark / gitweb /
bus: remove spurious include of <sys/capability.h>
authorFilipe Brandenburger <filbranden@google.com>
Tue, 23 Dec 2014 18:38:50 +0000 (10:38 -0800)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 25 Dec 2014 15:56:42 +0000 (10:56 -0500)
commit946be29c98e1797f2e0912c5f2da31ee3816ee58
tree098a10236f148a536fe766007db5f6e6fc2099f0
parent9bb0c7cfbb253c5b983efaed51a65bcbf422d8d7
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.
src/libsystemd/sd-bus/bus-objects.c
src/libsystemd/sd-bus/bus-util.c