chiark / gitweb /
hostnamed: remove spurious include of <sys/capability.h>
authorFilipe Brandenburger <filbranden@google.com>
Tue, 23 Dec 2014 18:38:45 +0000 (10:38 -0800)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 25 Dec 2014 15:56:27 +0000 (10:56 -0500)
commitffbc903f030d9acd2c40e4defd8e549b046ec520
tree0398fd95f77d6a59a01c1431a47ceda57ac7129a
parent2395eb17ebd1033e53989e4a9b8745f921a7d965
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.
src/hostname/hostnamed.c