summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFilipe Brandenburger <filbranden@google.com>2014-12-23 10:38:49 -0800
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-12-25 10:56:34 -0500
commit9bb0c7cfbb253c5b983efaed51a65bcbf422d8d7 (patch)
tree5f1308edff4865bbb4141cd715ba2f9fe5b44171 /src
parentffbc903f030d9acd2c40e4defd8e549b046ec520 (diff)
machined: remove spurious include of <sys/capability.h>
They do not use any functions from libcap directly. The CAP_KILL constant in use by these files comes from <linux/capability.h> imported through "missing.h". Tested that "systemd-machined" builds cleanly and works after this change.
Diffstat (limited to 'src')
-rw-r--r--src/machine/machine-dbus.c1
-rw-r--r--src/machine/machined-dbus.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/machine/machine-dbus.c b/src/machine/machine-dbus.c
index e63b7ad129..31a6fc4715 100644
--- a/src/machine/machine-dbus.c
+++ b/src/machine/machine-dbus.c
@@ -21,7 +21,6 @@
#include <errno.h>
#include <string.h>
-#include <sys/capability.h>
#include <arpa/inet.h>
#include "bus-util.h"
diff --git a/src/machine/machined-dbus.c b/src/machine/machined-dbus.c
index e264dacbe6..1ca2c95898 100644
--- a/src/machine/machined-dbus.c
+++ b/src/machine/machined-dbus.c
@@ -23,7 +23,6 @@
#include <string.h>
#include <unistd.h>
#include <pwd.h>
-#include <sys/capability.h>
#include "sd-id128.h"
#include "sd-messages.h"