From 8c0139b0854b6a89882b0bfc54f7e7bea42c0086 Mon Sep 17 00:00:00 2001 From: bert hubert Date: Fri, 26 Aug 2016 20:41:19 +0200 Subject: [PATCH] moving some include files to prevent clashes of #defines on OSX --- pdns/dnswriter.cc | 4 ++-- pdns/speedtest.cc | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/pdns/dnswriter.cc b/pdns/dnswriter.cc index 763bc2eb99..ff628d76bd 100644 --- a/pdns/dnswriter.cc +++ b/pdns/dnswriter.cc @@ -22,11 +22,11 @@ #ifdef HAVE_CONFIG_H #include "config.h" #endif +#include #include "dnswriter.hh" #include "misc.hh" #include "dnsparser.hh" -#include -#include + #include DNSPacketWriter::DNSPacketWriter(vector& content, const DNSName& qname, uint16_t qtype, uint16_t qclass, uint8_t opcode) diff --git a/pdns/speedtest.cc b/pdns/speedtest.cc index f18a7a89c3..465f2c3024 100644 --- a/pdns/speedtest.cc +++ b/pdns/speedtest.cc @@ -1,17 +1,19 @@ #include "config.h" +#include +#include #include "dnsparser.hh" #include "sstuff.hh" #include "misc.hh" #include "dnswriter.hh" #include "dnsrecords.hh" #include -#include + #ifndef RECURSOR #include "statbag.hh" #include "base64.hh" StatBag S; #endif -#include + volatile bool g_ret; // make sure the optimizer does not get too smart uint64_t g_totalRuns; volatile bool g_stop; -- 2.47.2