diff options
author | Filipe Brandenburger <filbranden@google.com> | 2014-12-23 10:38:45 -0800 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-12-25 10:56:27 -0500 |
commit | ffbc903f030d9acd2c40e4defd8e549b046ec520 (patch) | |
tree | 0398fd95f77d6a59a01c1431a47ceda57ac7129a /src | |
parent | 2395eb17ebd1033e53989e4a9b8745f921a7d965 (diff) |
hostnamed: 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-hostnamed" builds cleanly and works after this change.
Diffstat (limited to 'src')
-rw-r--r-- | src/hostname/hostnamed.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/hostname/hostnamed.c b/src/hostname/hostnamed.c index ef45e563c8..b230ff6d5c 100644 --- a/src/hostname/hostnamed.c +++ b/src/hostname/hostnamed.c @@ -23,7 +23,6 @@ #include <string.h> #include <unistd.h> #include <sys/utsname.h> -#include <sys/capability.h> #include "util.h" #include "strv.h" |