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:
parent
9bb0c7cfbb
commit
946be29c98
@ -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"
|
||||
|
@ -20,7 +20,6 @@
|
||||
***/
|
||||
|
||||
#include <sys/socket.h>
|
||||
#include <sys/capability.h>
|
||||
|
||||
#include "systemd/sd-daemon.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user