From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bryan Kadzban Date: Thu, 31 May 2012 06:10:01 +0000 Subject: [PATCH] Don't require libcap when building libsystemd-shared Message-Id: <4FC70B39.9060902@kadzban.is-a-geek.net> MIME-Version: 1 Content-Type: multipart/mixed; boundary="------------070005080204020904040908" List-Id: To: linux-hotplug@vger.kernel.org This is a multi-part message in MIME format. --------------070005080204020904040908 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit src/shared/util.c includes but doesn't use anything defined there. Since is part of libcap, not libc, don't require it. Allows systemd-without-udevd to require fewer external libraries. Signed-Off-By: Bryan Kadzban ----- Tested by building just systemd-udevd, as the previous patch. Patch generated against current git again, as well. --------------070005080204020904040908 Content-Type: text/plain; name="remove-libcap-from-libsystemd-shared.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="remove-libcap-from-libsystemd-shared.patch" 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 #include #include -#include #include #include #include --------------070005080204020904040908--