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 <wjw@digiware.nl>
This commit is contained in:
Willem Jan Withagen 2016-07-29 20:22:22 +02:00
parent e5b3ee0b79
commit 4557585447

View File

@ -11,7 +11,6 @@
* Foundation. See file COPYING.
*
*/
#include "dns_resolve.h"
#include <sys/types.h>
#include <netinet/in.h>
@ -19,6 +18,8 @@
#include <arpa/inet.h>
#include <resolv.h>
#include "dns_resolve.h"
#include "acconfig.h"
#include "common/debug.h"
#include "msg/msg_types.h"