summaryrefslogtreecommitdiff
path: root/src/timedate/timedated.c
diff options
context:
space:
mode:
authorFilipe Brandenburger <filbranden@google.com>2014-12-23 10:38:47 -0800
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-12-25 10:57:16 -0500
commit88c49117685837fd1b9a43e4578238a825c8bcab (patch)
tree9d90827bdb2a374b716b44cd69ff9e45bdfd58a9 /src/timedate/timedated.c
parent8ea763865ffe1e5462d9921c01f4b135e1008d59 (diff)
timedated: remove spurious include of <sys/capability.h>
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.
Diffstat (limited to 'src/timedate/timedated.c')
-rw-r--r--src/timedate/timedated.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/timedate/timedated.c b/src/timedate/timedated.c
index bf567a1624..d507200648 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"