summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilipe Brandenburger <filbranden@google.com>2014-12-23 10:38:46 -0800
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-12-25 10:57:08 -0500
commit8ea763865ffe1e5462d9921c01f4b135e1008d59 (patch)
tree8eb994891a2aecd2a758880c75d3ec4edeebb9a7
parent946be29c98e1797f2e0912c5f2da31ee3816ee58 (diff)
localed: remove spurious include of <sys/capability.h>
It does not use any functions from libcap directly. The CAP_SYS_ADMIN constant in use by this file comes from <linux/capability.h> imported through "missing.h". Tested that "systemd-localed" builds cleanly and works after this change.
-rw-r--r--src/locale/localed.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/locale/localed.c b/src/locale/localed.c
index 0aaa63de85..072354162d 100644
--- a/src/locale/localed.c
+++ b/src/locale/localed.c
@@ -23,7 +23,6 @@
#include <errno.h>
#include <string.h>
#include <unistd.h>
-#include <sys/capability.h>
#include "sd-bus.h"