It does not use any functions from libcap directly. The CAP_SYS_TIME constant in use by this file comes from <linux/capability.h> imported through "missing.h".
Tested that "systemd-timedated" builds cleanly and works after this change. --- src/timedate/timedated.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/timedate/timedated.c b/src/timedate/timedated.c index bf567a1..d507200 100644 --- a/src/timedate/timedated.c +++ b/src/timedate/timedated.c @@ -22,7 +22,6 @@ #include <errno.h> #include <string.h> #include <unistd.h> -#include <sys/capability.h> #include "sd-id128.h" #include "sd-messages.h" -- 1.8.3.1 _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
