From 4557585447ea050875f024adce079210460079ed Mon Sep 17 00:00:00 2001 From: Willem Jan Withagen Date: Fri, 29 Jul 2016 20:22:22 +0200 Subject: [PATCH] src/common/dns_resolve.cc: reorder the includes - dns_resolv.h should only be include after all the std-includes are made. Otherwise it will result into undefined structs/variables on FreeBSD/Clang Signed-off-by: Willem Jan Withagen --- src/common/dns_resolve.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/dns_resolve.cc b/src/common/dns_resolve.cc index 8ec4cf616db..77f5b529497 100644 --- a/src/common/dns_resolve.cc +++ b/src/common/dns_resolve.cc @@ -11,7 +11,6 @@ * Foundation. See file COPYING. * */ -#include "dns_resolve.h" #include #include @@ -19,6 +18,8 @@ #include #include +#include "dns_resolve.h" + #include "acconfig.h" #include "common/debug.h" #include "msg/msg_types.h" -- 2.47.3