summaryrefslogtreecommitdiff
path: root/src/shared/util.c
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2012-05-31 11:58:06 +0200
committerKay Sievers <kay@vrfy.org>2012-05-31 11:58:06 +0200
commit051d68786bd5bfe87e7cc0c1d68ec4be83eb662a (patch)
tree547a498337e76ab59f38ca9c50cd3049b6799a55 /src/shared/util.c
parentaa0f64ac851ebf27342d66947b5170bfeb9f49ae (diff)
util: don't require libcap when building libsystemd-shared
src/shared/util.c includes <sys/capability.h> but doesn't use anything defined there. Since <sys/capability.h> is part of libcap, not libc, don't require it. Allows systemd-without-udevd to require fewer external libraries.
Diffstat (limited to 'src/shared/util.c')
-rw-r--r--src/shared/util.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/shared/util.c b/src/shared/util.c
index 9db2a6b2a2..67ec5ae747 100644
--- a/src/shared/util.c
+++ b/src/shared/util.c
@@ -50,7 +50,6 @@
#include <linux/kd.h>
#include <dlfcn.h>
#include <sys/wait.h>
-#include <sys/capability.h>
#include <sys/time.h>
#include <glob.h>
#include <grp.h>