]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
reorder includes to avoid Boost L conflict 6595/head
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Thu, 10 May 2018 11:42:44 +0000 (13:42 +0200)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Thu, 10 May 2018 11:42:44 +0000 (13:42 +0200)
15 files changed:
pdns/lua-recursor4.cc
pdns/lwres.cc
pdns/pdns_recursor.cc
pdns/protobuf.cc
pdns/protobuf.hh
pdns/rec-carbon.cc
pdns/rec-lua-conf.cc
pdns/rec_channel_rec.cc
pdns/recpacketcache.hh
pdns/recursor_cache.cc
pdns/rpzloader.cc
pdns/syncres.cc
pdns/syncres.hh
pdns/validate-recursor.cc
pdns/ws-recursor.cc

index a2cc8e03384546b4a4234604bca41550dcbf1f77..3ea797700ae8228bacf24a0bca043c39832c1109 100644 (file)
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
-#include "lua-recursor4.hh"
 #include <fstream>
-#include "logger.hh"
-#include "dnsparser.hh"
 #include "syncres.hh"
+#include "logger.hh"
 #include "namespaces.hh"
 #include "rec_channel.hh"
 #include "ednsoptions.hh"
@@ -31,6 +29,7 @@
 #include "filterpo.hh"
 #include "rec-snmp.hh"
 #include <unordered_set>
+#include "lua-recursor4.hh"
 
 static int followCNAMERecords(vector<DNSRecord>& ret, const QType& qtype)
 {
index 6c045a8b9e76c4accf1fd134791a4c30a7a40ed6..270f52c65b5eab631045e7cb28380b879d4cc07f 100644 (file)
@@ -22,6 +22,7 @@
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
+#include "syncres.hh"
 #include "utility.hh"
 #include "lwres.hh"
 #include <iostream>
@@ -38,7 +39,6 @@
 #include "pdnsexception.hh"
 #include "arguments.hh"
 #include "sstuff.hh"
-#include "syncres.hh"
 #include "dnswriter.hh"
 #include "dnsparser.hh"
 #include "logger.hh"
index 1371ea605ae8aeaab06d4200f4fe664f19c93510..2cd1f3b00a83dfdc3c350c9cea219a2503d136d0 100644 (file)
@@ -27,9 +27,9 @@
 #include <sys/stat.h>
 #include <unistd.h>
 
+#include "recpacketcache.hh"
 #include "ws-recursor.hh"
 #include <pthread.h>
-#include "recpacketcache.hh"
 #include "utility.hh"
 #include "dns_random.hh"
 #ifdef HAVE_LIBSODIUM
index 3c9b49a0b3af07fc35d44eb78b5b3dd6cc7084be..5b53f2080074a4c82ddd505c3f9d8ddd48702b5f 100644 (file)
@@ -1,7 +1,7 @@
 
+#include "protobuf.hh"
 #include "gettime.hh"
 #include "dnsparser.hh"
-#include "protobuf.hh"
 #include "dnsparser.hh"
 #include "gettime.hh"
 
index 0fab8fa3acf2c1b078139189f0f825e9a162b5dc..9c3785151fdc1e92bbd10950c93403f4ecd195cf 100644 (file)
 
 #include "config.h"
 
-#include "dnsname.hh"
-#include "iputils.hh"
-
 #ifdef HAVE_PROTOBUF
 #include <boost/uuid/uuid.hpp>
 #include <boost/uuid/uuid_generators.hpp>
 #include "dnsmessage.pb.h"
 #endif /* HAVE_PROTOBUF */
 
+#include "dnsname.hh"
+#include "iputils.hh"
+
 class DNSProtoBufMessage
 {
 public:
index 5cf085ba9e816b2767a5d5a13863e7bf703cbcd4..f8098edc746da840031333dee48ba6b492063068 100644 (file)
@@ -1,8 +1,8 @@
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
-#include "mtasker.hh"
 #include "syncres.hh"
+#include "mtasker.hh"
 #include "rec_channel.hh"
 #include "iputils.hh"
 #include "logger.hh"
index 671d6e2ea02ec21364dc69b8dd1edb4c58caa859..50dea49749a60d33ab2774d42e5d0e4bcae70128 100644 (file)
@@ -4,11 +4,11 @@
 #include <fstream>
 #include <thread>
 #include "namespaces.hh"
+#include "syncres.hh"
 #include "logger.hh"
 #include "rec-lua-conf.hh"
 #include "sortlist.hh"
 #include "filterpo.hh"
-#include "syncres.hh"
 #include "rpzloader.hh"
 #include "base64.hh"
 #include "remote_logger.hh"
index 7daaa998a0e03051e171b70b27e0fe5b4602a863..5d495dbdb70e4c55403168162445471dd16d0401 100644 (file)
@@ -1,6 +1,7 @@
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
+#include "syncres.hh"
 #include "utility.hh"
 #include "rec_channel.hh"
 #include <boost/bind.hpp>
@@ -10,7 +11,6 @@
 #endif
 #include "misc.hh"
 #include "recursor_cache.hh"
-#include "syncres.hh"
 #include "negcache.hh"
 #include <boost/function.hpp>
 #include <boost/optional.hpp>
index bfa16961f216e259e484cf72c74edad3aee03da8..8263c73f5effa808ec298ed9a7dce6fcf12d1e84 100644 (file)
  */
 #ifndef PDNS_RECPACKETCACHE_HH
 #define PDNS_RECPACKETCACHE_HH
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+#include "rec-protobuf.hh"
+
 #include <string>
 #include <set>
 #include <inttypes.h>
 
 #include "packetcache.hh"
 
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-#include "rec-protobuf.hh"
 
 
 using namespace ::boost::multi_index;
index 1193afe6b9a3b6870f5b8be4e67a952c0af6b84f..9ccecf8c59830c1244e81bc7f116b0e922bee180 100644 (file)
@@ -4,12 +4,12 @@
 
 #include <cinttypes>
 
+#include "syncres.hh"
 #include "recursor_cache.hh"
 #include "misc.hh"
 #include <iostream>
 #include "dnsrecords.hh"
 #include "arguments.hh"
-#include "syncres.hh"
 #include "recursor_cache.hh"
 #include "cachecleaner.hh"
 #include "namespaces.hh"
index 7db92cb8458877536cc15ff6ea1c0ebd5b41b683..bfc91a4c0a1282d3779a744f3b06111128a41630 100644 (file)
@@ -1,7 +1,7 @@
+#include "syncres.hh"
 #include "dnsparser.hh"
 #include "dnsrecords.hh"
 #include "ixfr.hh"
-#include "syncres.hh"
 #include "resolver.hh"
 #include "logger.hh"
 #include "rec-lua-conf.hh"
index d7d46a0a09e13b7b8c6364099ef12fb19626d607..a0337a9192cc525084eff86dbf0958470ecae748 100644 (file)
@@ -23,6 +23,7 @@
 #include "config.h"
 #endif
 
+#include "syncres.hh"
 #include "arguments.hh"
 #include "cachecleaner.hh"
 #include "dns_random.hh"
@@ -32,7 +33,6 @@
 #include "logger.hh"
 #include "lua-recursor4.hh"
 #include "rec-lua-conf.hh"
-#include "syncres.hh"
 #include "dnsseckeeper.hh"
 #include "validate-recursor.hh"
 
index 33dae04805802a6492774308baa1ce8acaa85687..52325a45f194cde77dd1cb58842ee5f011909d71 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 #pragma once
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#ifdef HAVE_PROTOBUF
+#include <boost/uuid/uuid.hpp>
+#include <boost/uuid/uuid_generators.hpp>
+#endif
+
 #include <string>
 #include <atomic>
 #include "utility.hh"
 #include "filterpo.hh"
 #include "negcache.hh"
 
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#ifdef HAVE_PROTOBUF
-#include <boost/uuid/uuid.hpp>
-#include <boost/uuid/uuid_generators.hpp>
-#endif
-
 class RecursorLua4;
 
 typedef map<
index 83e383328bdc150e7d7724007a514b4656b41724..a870c2e8aa81fac90150f1fbde619d92167aae38 100644 (file)
@@ -1,6 +1,6 @@
+#include "syncres.hh"
 #include "validate.hh"
 #include "validate-recursor.hh"
-#include "syncres.hh"
 #include "logger.hh"
 
 DNSSECMode g_dnssecmode{DNSSECMode::ProcessNoValidate};
index 7b2c9bc85cea8e0a570f7afe27f74faf79dbac83..6f56a4039dc02f798a1dfb2f53eb834722e45fea 100644 (file)
@@ -22,6 +22,7 @@
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
+#include "syncres.hh"
 #include "ws-recursor.hh"
 #include "json.hh"
 
@@ -32,7 +33,6 @@
 #include "rec_channel.hh"
 #include "arguments.hh"
 #include "misc.hh"
-#include "syncres.hh"
 #include "dnsparser.hh"
 #include "json11.hpp"
 #include "webserver.hh"