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.
This commit is contained in:
Filipe Brandenburger 2014-12-23 10:38:45 -08:00 committed by Zbigniew Jędrzejewski-Szmek
parent 2395eb17eb
commit ffbc903f03

View file

@ -23,7 +23,6 @@
#include <string.h>
#include <unistd.h>
#include <sys/utsname.h>
#include <sys/capability.h>
#include "util.h"
#include "strv.h"