summaryrefslogtreecommitdiff
path: root/src/tmpfiles/tmpfiles.c
diff options
context:
space:
mode:
authorFilipe Brandenburger <filbranden@google.com>2014-12-23 10:38:44 -0800
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-12-25 10:56:21 -0500
commit2395eb17ebd1033e53989e4a9b8745f921a7d965 (patch)
tree5f3017f9807e883893b5d991009e03823fb6dbed /src/tmpfiles/tmpfiles.c
parentd920e59c7df63300e5b5191d2a4be7b3baac6ea8 (diff)
tmpfiles: remove spurious include of <sys/capability.h>
It does not use any functions from libcap directly. The CAP_MKNOD constant in use by this file comes from <linux/capability.h> imported through "missing.h". Tested that "systemd-tmpfiles" builds cleanly and works after this change.
Diffstat (limited to 'src/tmpfiles/tmpfiles.c')
-rw-r--r--src/tmpfiles/tmpfiles.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c
index d40bd96f1b..44ea51e26b 100644
--- a/src/tmpfiles/tmpfiles.c
+++ b/src/tmpfiles/tmpfiles.c
@@ -38,7 +38,6 @@
#include <sys/param.h>
#include <glob.h>
#include <fnmatch.h>
-#include <sys/capability.h>
#include <sys/xattr.h>
#include "log.h"