[systemd-commits] src/shared
Kay Sievers
kay at kemper.freedesktop.org
Thu May 31 02:58:55 PDT 2012
src/shared/util.c | 1 -
1 file changed, 1 deletion(-)
New commits:
commit 051d68786bd5bfe87e7cc0c1d68ec4be83eb662a
Author: Kay Sievers <kay at vrfy.org>
Date: Thu May 31 11:58:06 2012 +0200
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.
diff --git a/src/shared/util.c b/src/shared/util.c
index 9db2a6b..67ec5ae 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>
More information about the systemd-commits
mailing list