From: Miroslav Lichvar Date: Thu, 20 Sep 2018 13:08:04 +0000 (+0200) Subject: nameserv: adopt some include directives from sysincl.h X-Git-Tag: 3.5-pre1~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4169e94b1d401515fc2f09dd035ee61b36b05a2a;p=thirdparty%2Fchrony.git nameserv: adopt some include directives from sysincl.h Move headers specific to name resolving to nameserv.c. This should hide the system MIN/MAX macros from the rest of the code. --- diff --git a/nameserv.c b/nameserv.c index 1cb96086..90a65b19 100644 --- a/nameserv.c +++ b/nameserv.c @@ -30,6 +30,9 @@ #include "sysincl.h" +#include +#include + #include "nameserv.h" #include "util.h" diff --git a/sysincl.h b/sysincl.h index 54431de2..296c5e68 100644 --- a/sysincl.h +++ b/sysincl.h @@ -38,10 +38,8 @@ #include #include #include -#include #include #include -#include #include #include #include