From: Willem Jan Withagen Date: Fri, 29 Jul 2016 18:22:22 +0000 (+0200) Subject: src/common/dns_resolve.cc: reorder the includes X-Git-Tag: v11.0.1~578^2~1 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=4557585447ea050875f024adce079210460079ed;p=ceph-ci.git 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 --- 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"