From: Filipe Brandenburger Date: Tue, 23 Dec 2014 18:38:45 +0000 (-0800) Subject: hostnamed: remove spurious include of X-Git-Tag: v219~829 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ffbc903f030d9acd2c40e4defd8e549b046ec520;p=thirdparty%2Fsystemd.git hostnamed: remove spurious include of It does not use any functions from libcap directly. The CAP_SYS_ADMIN constant in use by this file comes from imported through "missing.h". Tested that "systemd-hostnamed" builds cleanly and works after this change. --- diff --git a/src/hostname/hostnamed.c b/src/hostname/hostnamed.c index ef45e563c8a..b230ff6d5c3 100644 --- a/src/hostname/hostnamed.c +++ b/src/hostname/hostnamed.c @@ -23,7 +23,6 @@ #include #include #include -#include #include "util.h" #include "strv.h"