]> granicus.if.org Git - pdns/commitdiff
Include config.h only in .cc files
authorAki Tuomi <cmouse@cmouse.fi>
Tue, 24 Feb 2015 07:44:16 +0000 (09:44 +0200)
committerAki Tuomi <cmouse@cmouse.fi>
Tue, 24 Feb 2015 09:09:36 +0000 (11:09 +0200)
Including config.h in header files can make it difficult to make
the header files public in future, also, including config.h only
in compilation units ensures it's only included once.

178 files changed:
modules/bindbackend/bindbackend2.cc
modules/bindbackend/binddnssec.cc
modules/geobackend/geobackend.cc
modules/geobackend/ippreftree.cc
modules/geoipbackend/geoipbackend.cc
modules/geoipbackend/geoipbackend.hh
modules/gmysqlbackend/gmysqlbackend.cc
modules/gmysqlbackend/smysql.cc
modules/goraclebackend/goraclebackend.cc
modules/goraclebackend/soracle.cc
modules/gpgsqlbackend/gpgsqlbackend.cc
modules/gpgsqlbackend/spgsql.cc
modules/gsqlite3backend/gsqlite3backend.cc
modules/ldapbackend/ldapbackend.cc
modules/ldapbackend/ldapbackend.hh
modules/ldapbackend/powerldap.cc
modules/ldapbackend/powerldap.hh
modules/lmdbbackend/lmdbbackend.cc
modules/luabackend/dnssec.cc
modules/luabackend/lua_functions.cc
modules/luabackend/luabackend.cc
modules/luabackend/master.cc
modules/luabackend/minimal.cc
modules/luabackend/private.cc
modules/luabackend/reload.cc
modules/luabackend/slave.cc
modules/luabackend/supermaster.cc
modules/mydnsbackend/mydnsbackend.cc
modules/opendbxbackend/odbxbackend.cc
modules/opendbxbackend/odbxprivate.cc
modules/oraclebackend/oraclebackend.cc
modules/pipebackend/coprocess.cc
modules/pipebackend/pipebackend.cc
modules/randombackend/randombackend.cc
modules/remotebackend/httpconnector.cc
modules/remotebackend/pipeconnector.cc
modules/remotebackend/remotebackend.cc
modules/remotebackend/test-remotebackend-http.cc
modules/remotebackend/test-remotebackend-json.cc
modules/remotebackend/test-remotebackend-pipe.cc
modules/remotebackend/test-remotebackend-post.cc
modules/remotebackend/test-remotebackend-unix.cc
modules/remotebackend/test-remotebackend-zeromq.cc
modules/remotebackend/test-remotebackend.cc
modules/remotebackend/unixconnector.cc
modules/remotebackend/zmqconnector.cc
modules/tinydnsbackend/cdb.cc
modules/tinydnsbackend/tinydnsbackend.cc
pdns/arguments.cc
pdns/auth-carbon.cc
pdns/backends/gsql/gsqlbackend.cc
pdns/base32.cc
pdns/base64.cc
pdns/botan110signers.cc
pdns/botan18signers.cc
pdns/botansigners.cc
pdns/calidns.cc
pdns/common_startup.cc
pdns/communicator.cc
pdns/cryptoppsigners.cc
pdns/dbdnsseckeeper.cc
pdns/devpollmplexer.cc
pdns/dns.cc
pdns/dns_random.cc
pdns/dnsbackend.cc
pdns/dnsbulktest.cc
pdns/dnsdemog.cc
pdns/dnsdist.cc
pdns/dnsgram.cc
pdns/dnspacket.cc
pdns/dnspacket.hh
pdns/dnsparser.cc
pdns/dnspcap.cc
pdns/dnsproxy.cc
pdns/dnsrecords.cc
pdns/dnsreplay.cc
pdns/dnsscan.cc
pdns/dnsscope.cc
pdns/dnssecinfra.cc
pdns/dnssecsigner.cc
pdns/dnstcpbench.cc
pdns/dnswasher.cc
pdns/dnswriter.cc
pdns/dumresp.cc
pdns/dynhandler.cc
pdns/dynhandler.hh
pdns/dynlistener.cc
pdns/dynloader.cc
pdns/dynmessenger.cc
pdns/ed25519signers.cc
pdns/ednssubnet.cc
pdns/epollmplexer.cc
pdns/inflighter.cc
pdns/iputils.cc
pdns/json.cc
pdns/kqueuemplexer.cc
pdns/logger.cc
pdns/logger.hh
pdns/lua-auth.cc
pdns/lua-iputils.cc
pdns/lua-pdns.cc
pdns/lua-recursor.cc
pdns/lwres.cc
pdns/mastercommunicator.cc
pdns/misc.cc
pdns/mtasker.cc
pdns/nameserver.cc
pdns/notify.cc
pdns/nproxy.cc
pdns/nsec3dig.cc
pdns/nsecrecords.cc
pdns/packetcache.cc
pdns/packethandler.cc
pdns/pdns_hw.cc
pdns/pdns_recursor.cc
pdns/pdnssec.cc
pdns/pkcs11signers.cc
pdns/polarrsakeyinfra.cc
pdns/pollmplexer.cc
pdns/portsmplexer.cc
pdns/qtype.cc
pdns/randomhelper.cc
pdns/rcpgenerator.cc
pdns/rec-carbon.cc
pdns/rec_channel.cc
pdns/rec_channel_rec.cc
pdns/rec_control.cc
pdns/receiver.cc
pdns/recpacketcache.cc
pdns/recursor_cache.cc
pdns/reczones.cc
pdns/resolver.cc
pdns/responsestats.cc
pdns/rfc2136handler.cc
pdns/saxfr.cc
pdns/sdig.cc
pdns/secpoll-auth.cc
pdns/secpoll-recursor.cc
pdns/selectmplexer.cc
pdns/serialtweaker.cc
pdns/signingpipe.cc
pdns/sillyrecords.cc
pdns/slavecommunicator.cc
pdns/speedtest.cc
pdns/ssqlite3.cc
pdns/statbag.cc
pdns/syncres.cc
pdns/tcpreceiver.cc
pdns/test-base32_cc.cc
pdns/test-base64_cc.cc
pdns/test-bindparser_cc.cc
pdns/test-dns_random_hh.cc
pdns/test-dnsrecords_cc.cc
pdns/test-iputils_hh.cc
pdns/test-md5_hh.cc
pdns/test-misc_hh.cc
pdns/test-nameserver_cc.cc
pdns/test-packetcache_cc.cc
pdns/test-rcpgenerator_cc.cc
pdns/test-sha_hh.cc
pdns/test-statbag_cc.cc
pdns/test-zoneparser_tng_cc.cc
pdns/testrunner.cc
pdns/toysdig.cc
pdns/tsig-tests.cc
pdns/ueberbackend.cc
pdns/unix_semaphore.cc
pdns/unix_utility.cc
pdns/version.cc
pdns/webserver.cc
pdns/ws-api.cc
pdns/ws-auth.cc
pdns/ws-recursor.cc
pdns/zone2json.cc
pdns/zone2ldap.cc
pdns/zone2lmdb.cc
pdns/zone2sql.cc
pdns/zoneparser-tng.cc

index 74696f0aad79a7b683470c55f5fdd36936cefbcf..0605c30dfb66b26b0b990c66f3c1d4d33bd39f88 100644 (file)
@@ -20,6 +20,9 @@
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <errno.h>
 #include <string>
 #include <set>
index c5c63700c71e9fdf6078126f5b6879f7a7df89f5..a4f717250812f7e515bf8fcaf0d81ab9b1dcb8bd 100644 (file)
     along with this program; if not, write to the Free Software
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "bindbackend2.hh"
 #include "pdns/dnsrecords.hh"
 #include "pdns/bind-dnssec.schema.sqlite3.sql.h"
 #include <boost/foreach.hpp>
-#include "config.h"
 #include "pdns/arguments.hh"
 
 #ifndef HAVE_SQLITE3
index 15550247ab6a7aadfe15ba20d16c9d2e9d164c33..5d7eb18fc973261b3e007509800614de4e3f38cf 100644 (file)
@@ -5,6 +5,9 @@
  *         $Id$
  */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <fstream>
 #include <sstream>
 #include <sys/types.h>
index db078f044cd82e1286537b33c4e0a38380a6eade..fa0ee464890e5865ae8a2c6d82084942cd979bfa 100644 (file)
@@ -5,6 +5,9 @@
  *         $Id$
  */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <sstream>
 
 #include "ippreftree.hh"
index 023d322c4b0e2066a6a306b6de47c4fa53de4ef1..dccbc2fd0f609cd8f83d7eba1752e78b0a7fd904 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "geoipbackend.hh"
 #include <sstream>
 #include <regex.h>
index 4c2e8acdf677a887e6e6f14b3a4443c28d94ff13..b4f461463096185b679d6b3876798f9a0b2f06f8 100644 (file)
@@ -1,7 +1,6 @@
 #ifndef PDNS_GEOIPBACKEND_HH
 #define PDNS_GEOIPBACKEND_HH
 
-#include "config.h"
 #include "pdns/namespaces.hh"
 
 #include <vector>
index 5485b4b8536cd54916c56ed6a3857c4274e08eac..4f7425c35273ae720d267ec95ac9885b61d67906 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <string>
 #include <map>
 #include "pdns/namespaces.hh"
index 6510dde4686efca318e43bd8751e11d40415b724..3dedab2cd7ddfb1f800efd119f1bb2a9849c606b 100644 (file)
@@ -1,6 +1,9 @@
 /* Copyright 2001 Netherlabs BV, bert.hubert@netherlabs.nl. See LICENSE
    for more information.
    $Id$  */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "smysql.hh"
 #include <string>
 #include <iostream>
index fe2d5ec8c0ca6f46275ca90ee6b2580c53f5ffe6..1f4d9f64734ccf8eaf71a33a71087e9e8dc1475a 100644 (file)
@@ -1,4 +1,7 @@
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <string>
 #include <map>
 #include "pdns/namespaces.hh"
index 0759dfd29036bde3c0b04a5a7967eac6a47428f7..42e675ed7542515511db30c385a98acbddf49236 100644 (file)
@@ -1,6 +1,9 @@
 /* Copyright 2005 Netherlabs BV, bert.hubert@netherlabs.nl. See LICENSE
    for more information. */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "soracle.hh"
 #include <string>
 #include <iostream>
index 6cc824e1fae577f444f4d6ff3c8164e0a1bba50a..01162c6dfa9bf4bd847dac8e1be0939afd35e04f 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <string>
 #include <map>
 #include "pdns/namespaces.hh"
index f30a3dadd4250dd60b1dad6d08155001c9a3b479..3e19fa8482e8166ace29e5fa95e49766f2d5e4b0 100644 (file)
@@ -1,5 +1,8 @@
 /* Copyright 2003 - 2005 Netherlabs BV, bert.hubert@netherlabs.nl. See LICENSE 
    for more information. */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <string>
 #include "spgsql.hh"
 
index 7a03716b8826f9bbaeafb9ef3315d75f14b0e91a..c6a2b91b7b2797d8dd01e102653bf2740c39a2e5 100644 (file)
@@ -4,6 +4,9 @@
 // Copyright (C) 2011, PowerDNS.COM BV
 //
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "pdns/utility.hh"
 #include <map>
 #include <unistd.h>
index 0eda8630b510b73e5493b7a5c704d6fdb3c09b0a..aafa4dd01bd08ffa348f2338065221445fba3315 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "ldapbackend.hh"
 
 
index b48b971a4fc4fee8358998cdbbbf0d3c3bd844d9..ca9db96ff3028cfd0f71bbb5236e3c4887564e9f 100644 (file)
@@ -36,9 +36,6 @@
 #include "powerldap.hh"
 #include "utils.hh"
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
 
 
 #ifndef LDAPBACKEND_HH
index 18006462a1b35a2c6cd938949d21d06ebc4fc1c0..dcb01b6769daa117f9060d7c1794cb0eefa8a6c4 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "powerldap.hh"
 #include "pdns/misc.hh"
 #include <sys/time.h>
index a2ae07987d34d50c2f01451ac932fb3eecdaafb5..b585eff8baa4c457ec2baa32bd8507756e3b0f29 100644 (file)
@@ -29,9 +29,6 @@
 #include <lber.h>
 #include <ldap.h>
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
 
 
 
index eb3c57b800d729f385cf2e501edcecca962612f6..6d4acb6ee555402364736a9b2e22036b324f2490 100644 (file)
@@ -12,6 +12,9 @@
  * script which generates a simple zone.
  */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "pdns/utility.hh"
 #include "pdns/dnsbackend.hh"
 #include "pdns/dns.hh"
index 0988b28871611b347057418fa33e63a5ce5e8f22..401bdcdc1f7e299e39e82ff6df8440d8810dba11 100644 (file)
@@ -16,6 +16,9 @@
 */
 
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "luabackend.hh"
 
 #include "pdns/logger.hh"
index b30c13f4dd2dd00c666e195a1066515bc35a2771..1a8483155b948e76d38bf35139dcc8055e69a56c 100644 (file)
@@ -17,6 +17,9 @@
 
 #define LUABACKEND_EXTERN_F_HH
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "luabackend.hh"
 
 #include "pdns/logger.hh"
index 9391e6253df9f499a01beeaa6793659b2dc7ecc2..cfddf4f7c82688207397d29144b9b1efafc290cb 100644 (file)
@@ -15,6 +15,9 @@
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "luabackend.hh"
 #include "pdns/logger.hh"
 
index d607e24475ef8a2e52341567454c468253479af7..fd9a9a817afb8abdec0c68e5faf12c3433156942 100644 (file)
@@ -16,6 +16,9 @@
 */
 
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "luabackend.hh"
 
 #include "pdns/logger.hh"
index cc4247fbdf667aa35cc57adb9ef92f131d67ac7b..d92a7d9f828b1ff7eee2f5a513fd6845032d27b0 100644 (file)
@@ -15,6 +15,9 @@
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "luabackend.hh"
 
 #include "pdns/logger.hh"
index 270265c163f30e1c80d6e3dd0eb978c5462d2a93..9ee1cf169c553dcbf4670edcfa1bf2d11f851be9 100644 (file)
@@ -15,6 +15,9 @@
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "luabackend.hh"
 
 #include "pdns/logger.hh"
index 34db96a07db2976bde5a8bd8591082452f44ec54..6a74ab13b2da59c0772346bc842100f2e219cdca 100644 (file)
@@ -16,6 +16,9 @@
 */
 
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "luabackend.hh"
 
 #include "pdns/logger.hh"
index 729286cb015bfcf43c4935263e3051508622d57b..8f60b14b873c60f1a8ebbcab753de0c70a3ce446 100644 (file)
@@ -16,6 +16,9 @@
 */
 
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "luabackend.hh"
 
 #include "pdns/logger.hh"
index a877352f5f67d43ef75cf5b42b718e67a0261385..9360356d476fbdce5f57a8002222134f3b77ad48 100644 (file)
@@ -16,6 +16,9 @@
 */
 
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "luabackend.hh"
 
 #include "pdns/logger.hh"
index a46e350d76b566d7e2d8762a7e61723c31b1dc7d..80ee38a3452e91c892a92942b40265b2e5182d8f 100644 (file)
@@ -19,6 +19,9 @@
  * If you do not know what mydns is: http://mydns.bboy.net/
  */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <string>
 #include <map>
 #include <unistd.h>
index 80df4debfe80e1aae222f2043a36517ec9bec284..fd6cc1987b965ae9dceeb99179ae1f6e1daecd1b 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "odbxbackend.hh"
 
 
index a5f1bec8555d6f09252cdcda0851893f85aa02ce..399f5f076e8be3b13469f6b10d64036d21ce5267 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "odbxbackend.hh"
 
 
index 7d2cdc450b4742691959ab10c9fbc2d9382fa41c..40cfa58d933175a526be5de3ed4e81686ad2d19a 100644 (file)
@@ -9,6 +9,9 @@
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <string>
 #include <stdexcept>
 
index ee1415f3700b16bfd98c9ff096114562489ae0c1..06860ff0bfd5d775f670c29d9193bc223f5010d4 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "coprocess.hh"
 #include <stdlib.h>
 #include <unistd.h>
index b8f68d764f28ce224ad1b4b1529b0e374a76e318..adf74ed9ddf210186d8ca9b80a1446c0ff360b6c 100644 (file)
@@ -3,6 +3,9 @@
 // Version : $Id$ 
 //
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <string>
 #include <map>
 #include <unistd.h>
index 1244410a220045e554028822fed3855dd5238881..b70dfa07db76bfaffe1efc50485e767d53d4cad8 100644 (file)
@@ -19,6 +19,9 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "pdns/utility.hh"
 #include "pdns/dnsbackend.hh"
 #include "pdns/dns.hh"
index b74d105a9d92f56163a541a5e5ab5801078f6756..e4c97e9935f8a99b93a6010c479760d4e9158477 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "remotebackend.hh"
 #include <sys/socket.h>
 #include <unistd.h>
index 140132a20159ee289e940781f3acf01d10604e5a..76962921d0796b66fd68d1c42afcd12456a20023 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <sys/types.h>
 #include <sys/wait.h>
 #include "remotebackend.hh"
index 47dbad905a19693d8b80771d02a9a8711991406a..fe86a0895898dc087fd7472a949b315ccf10991d 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "remotebackend.hh"
 #include <boost/foreach.hpp>
 
index 4a84792e0333f0b7b7be19433bad1689d2162394..b37503572418c2ff26faf14c3398e55f1f1c5b70 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "pdns/namespaces.hh"
 #include "pdns/dns.hh"
 #include "pdns/dnsbackend.hh"
index 402986e8fa8fd2fc5675b6fe8aca07c8ecb1256b..536f8e013875a5ba236df0be29cf68ffb89b8bf0 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "pdns/namespaces.hh"
 #include "pdns/dns.hh"
 #include "pdns/dnsbackend.hh"
index 687a4549971188e058bbc27b6f8b8da105b4f51c..5a3b1d3a512213a7685f61197139cbf7accdb804 100644 (file)
@@ -2,6 +2,9 @@
 #define BOOST_TEST_MAIN
 #define BOOST_TEST_MODULE unit
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <boost/test/unit_test.hpp>
 #include <boost/assign/list_of.hpp>
 #include <boost/foreach.hpp>
index 3f093ac4c0ec53e4a94f427ec93ed6c2682915ca..1580747d61e4051becb52184bffe509e7227c057 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "pdns/namespaces.hh"
 #include "pdns/dns.hh"
 #include "pdns/dnsbackend.hh"
index ab30b4fd3dbb17d49e0e723e4be90978ea337716..b95dfce944cb5f477380df996eb235870bf0bc6a 100644 (file)
@@ -2,6 +2,9 @@
 #define BOOST_TEST_MAIN
 #define BOOST_TEST_MODULE unit
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <boost/test/unit_test.hpp>
 #include <boost/assign/list_of.hpp>
 #include <boost/foreach.hpp>
index 00af000daf135c40c0f01b6ff4dbfacad208ef21..e7b2af4c5a664eb3d0e133b2c1ab22f7bf43ac17 100644 (file)
@@ -2,6 +2,9 @@
 #define BOOST_TEST_MAIN
 #define BOOST_TEST_MODULE unit
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <boost/assign/list_of.hpp>
 #include <boost/foreach.hpp>
 #include <boost/tuple/tuple.hpp>
index 0d64dd51b8e78f7dfb635a9f7e7c2deff2a84bd0..596135c31b5d37a66bd356fee6fd3c5c763c59d8 100644 (file)
@@ -1,6 +1,9 @@
 #define BOOST_TEST_DYN_LINK
 #define BOOST_TEST_NO_MAIN
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <boost/test/unit_test.hpp>
 #include <boost/assign/list_of.hpp>
 #include <boost/foreach.hpp>
index 516e3b52de1fc48c1c3a5534454d9f32bd25981e..ef2b40a813a39a3da13be869dab356f94bca463a 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "remotebackend.hh"
 #include <sys/socket.h>
 #include "pdns/lock.hh" 
index 8e427c49f3a88587a795ebac15fd544edb2472d4..cd06baee8b5277d70c37f915fe68f844f1e860d6 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "remotebackend.hh"
 #ifdef REMOTEBACKEND_ZEROMQ
 
index e67bea68bc76e199b297a8d27128ee3fb31ba062..12ab64892a4870df12faa923da190a235c02768e 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "cdb.hh"
 #include <cdb.h>
 #include "pdns/misc.hh"
index 74dae2da03d46b61109453459c5e0a023eca29bc..dede5289380f2f7e1330295bcfc6288aa4b361f7 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "tinydnsbackend.hh"
 #include "pdns/lock.hh"
 #include <cdb.h>
index 163537dbe5a94784f559dad99b123355eb7218e7..ff72d7caa24531f028b8cfe9f36b15cab901788d 100644 (file)
@@ -19,6 +19,9 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "arguments.hh"
 #include <boost/algorithm/string.hpp>
 #include <boost/algorithm/string/compare.hpp>
index 1d9ebea715e3b19a718bbd77738e15e9a0b1f7f5..c9aa54ad56fd915c6038d0336527e466bf81dc10 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "statbag.hh"
 #include "logger.hh"
 #include "iputils.hh"
index fc8e2148ee19dc8adde629582032ea35913eb13c..fbe616eaf6e036a0b1afc55a1099847f79d2f581 100644 (file)
@@ -20,6 +20,9 @@
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "pdns/dns.hh"
 #include "pdns/dnsbackend.hh"
 #include "gsqlbackend.hh"
index b76442a96e0201d7c7ce65258d49a141ef9d5bbb..d887015794a4c654d82a79ee3891cf92ca9e6a05 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <stdint.h>
 #include <stdio.h>
 #include <string>
index 87bebd857baf0a8484ecdff25c5fb0a172b17dc2..68755733d50b8207732d2650fa73f2f0d03982ca 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "base64.hh"
 #include <boost/scoped_array.hpp>
 #include <polarssl/base64.h>
index 648d243f99a98d1b140406b5710eb6d019d90bf0..d3a82997760c3f855f5b12ad7d1dd92e6235a23f 100644 (file)
@@ -1,4 +1,7 @@
 // utf-8 UTF-8 utf8 UTF8
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <botan/botan.h>
 #include <botan/ecdsa.h>
 #include <botan/gost_3410.h>
index 9cad576a76a158950d1a4786cb7f9de01ae464fa..af6a30d970749e52b3480a5be8ed726000098bd6 100644 (file)
@@ -1,4 +1,7 @@
 // utf-8 UTF-8 utf8 UTF8
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <botan/botan.h>
 #include <botan/ecdsa.h>
 #include <botan/ecdsa_op.h>
index bc1c4a72713d168dc434d17d2e79e50c6d561eee..282192232c24bbe2e6819e6b788e70a053017a7b 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <botan/botan.h>
 #include <botan/sha160.h>
 #include <botan/sha2_32.h>
index 4806340c630a489be5a2d3ab40b10901715a46a3..25b10860c9c2a08ccff992c0b278cc296e3a3347 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <iostream>
 #include "dnsparser.hh"
 #include "sstuff.hh"
index edd9313caf2de55e8faeaad9989344dcbda5c670..e14cf8bab8d7e66fdfb241f61094b7427fa1946e 100644 (file)
@@ -19,6 +19,9 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "common_startup.hh"
 #include "ws-auth.hh"
 #include "secpoll-auth.hh"
index ea22b1bacdfbc882ef06e629a02c27a23345b15e..46949793a206e847443d122b3b2a0e6437e33a11 100644 (file)
@@ -19,6 +19,9 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "packetcache.hh"
 #include "utility.hh"
 #include <errno.h>
index 2812dc88b4750c3a13347cf4190aa191b333a21d..0c4a95d86f9b3f11cbcafd9a915e574a079b6ccb 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <cryptopp/osrng.h>
 #include <cryptopp/aes.h>
 #include <cryptopp/integer.h>
index 10e2e8ce935a8a1c85be684391aa07f5cd60da10..781f956ca57417cb236420b35ad29d8bbaf3318f 100644 (file)
@@ -20,6 +20,9 @@
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "dnsseckeeper.hh"
 #include "dnssecinfra.hh"
 #include "ueberbackend.hh"
index 984a0493ee079a653fd3cef0fbdc6926a530072b..53c39f30d48aa3f451f81515d308a87f9c64455a 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <sys/devpoll.h>
 #include "mplexer.hh"
 #include "sstuff.hh"
index 1678f7072cea578174e57cca4675de020e5e2ec7..1b5a9b264c9d354fe1ff772538322025f76a5cd0 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "dns.hh"
 #include "misc.hh"
 #include "arguments.hh"
index 8944ba2885c1045fe5780d042e0f16cefdc16ecb..34a043ef041dd03fa9565ed0a7ea0564b4c9690d 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <polarssl/aes.h>
 #include <iostream>
 #include <cstdlib>
index a861c99ea2b77e6a764e480883725beaada192c0..5a935dfcc0382254bdc8a6f6caf7eb22bfbc69d2 100644 (file)
@@ -19,6 +19,9 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "utility.hh"
 #include "dnsbackend.hh"
 #include "arguments.hh"
index 7673ee6cf52d46226e705724a788403b29d67e9a..1f09d1b88bf9d1b072bd878a9267280b421a1d51 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <boost/accumulators/accumulators.hpp>
 #include <boost/array.hpp>
 #include <boost/accumulators/statistics.hpp>
index 5518b96e620ff5716f39bfe41baa4558a5e1a16a..bd3d1d2be2262f814d5d35a89c783309cb4b2e16 100644 (file)
@@ -1,4 +1,7 @@
 #define __FAVOR_BSD
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "statbag.hh"
 #include "dnspcap.hh"
 #include "dnsparser.hh"
index c84e53b9a8a950981a0926294937f6f3028ab662..defe00263302f1f1804c82f9a8caa2920ec0cd46 100644 (file)
@@ -19,6 +19,9 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "ext/luawrapper/include/LuaContext.hpp"
 #include "sstuff.hh"
 #include "misc.hh"
index 80eaedbde2dafd0ab6f74b8350c28f768599587e..175951b801335f52bb464d67e700142ed2b6161e 100644 (file)
@@ -1,4 +1,7 @@
 #define __FAVOR_BSD
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "statbag.hh"
 #include "dnspcap.hh"
 #include "dnsrecords.hh"
index 82beddd478f31e8df0a0ed88d27d39901db7d9f5..1aa4532f7480273b14fe39c51a3799b0fc63e2e5 100644 (file)
@@ -20,6 +20,9 @@
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "utility.hh"
 #include <cstdio>
 #include <cstdlib>
index 6a7f2bfe12df70fa55cc5a13039069269a766165..62405d880f96b8009200a565a338c8fcce14b3ba 100644 (file)
@@ -55,9 +55,6 @@
 #include "pdnsexception.hh"
 #include "dnsrecords.hh"
 
-#ifdef HAVE_CONFIG_H
-#include "config.h"
- #endif // HAVE_CONFIG_H
 
 
 class UeberBackend;
index e06eae3409b59b425a2a417d99f23f9772abe14b..e2f367a5a3c1afb9783df0cbca5a695f70bae410 100644 (file)
@@ -20,6 +20,9 @@
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "dnsparser.hh"
 #include "dnswriter.hh"
 #include <boost/lexical_cast.hpp>
index 7f4a9eeb660bdf5cede3f84fd82cb2918ee97e2f..5ca85d5ce9124cbd61bf325f0eeeee202c1f3a7f 100644 (file)
@@ -1,4 +1,7 @@
 #define __FAVOR_BSD
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "dnspcap.hh"
 #include <boost/format.hpp>
 #include <fcntl.h>
index dc324ce0b75722ea44ac9ab8014a2b1893903062..d8ff5339f08e0c5872392205e9cdc3fa58dff1b4 100644 (file)
@@ -19,6 +19,9 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "packetcache.hh"
 #include "utility.hh"
 #include "dnsproxy.hh"
index 6a0b24aa447c2747dfae802ee3f7258e0562d08b..a94d02c826bfffc803faaf4f32c2bca26eec10e3 100644 (file)
@@ -20,6 +20,9 @@
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "utility.hh"
 #include "dnsrecords.hh"
 #include <boost/foreach.hpp>
index 9e81356170103a9c5dd772e46ec31b4c989b28a1..8abe25caeb6d7ecfdab3164da7f313ac6dc51f68 100644 (file)
@@ -38,6 +38,9 @@ What to do with timeouts. We keep around at most 65536 outstanding answers.
 
  */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <bitset>
 #include "statbag.hh"
 #include "dnspcap.hh"
index 8da65686dcc1d13293e72390806333427ae31ba5..d5aaccad03631f842ee54bcc27f75dc0ebaa276a 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <bitset>
 #include "statbag.hh"
 #include "dnspcap.hh"
index 4b36701bb17cefdbbec54c5f2aad3a75c500b365..d740b8edebf532b2f4a660d3421417402a70d227 100644 (file)
@@ -1,4 +1,7 @@
 #define __FAVOR_BSD
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "statbag.hh"
 #include "dnspcap.hh"
 #include "dnsparser.hh"
index 29ef7dcb9c7c73e0c423cdf79eaed2857815abe5..82d69733fc94b73e8390d477e28830fe5c0c6ef8 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "dnsparser.hh"
 #include "sstuff.hh"
 #include "misc.hh"
index 7813ccb972b0d66e1081064c085f1413ae4eca96..14060ad8969118cd60186d70d101b93ea41bcd84 100644 (file)
@@ -19,6 +19,9 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "dnssecinfra.hh"
 #include "namespaces.hh"
 #include <boost/foreach.hpp>
index e7e5658eddb0a6548e4e3751b31ddf12491166e9..19fd8e2440fc7a08af20f95cef9d8ad9f2ce1bc3 100644 (file)
@@ -19,6 +19,9 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <boost/accumulators/statistics/median.hpp>
 #include <boost/accumulators/statistics/mean.hpp>
 #include <boost/accumulators/accumulators.hpp>
index e992f770bce8953adcc147f141f3b6f4c52029f0..95bac8655236496e9364d5ae70e85f230bdf8741 100644 (file)
@@ -12,6 +12,9 @@ otherwise, obfuscate the response IP address
 */
 
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "statbag.hh"
 #include "dnspcap.hh"
 
index e38055ba5db01eda79097fb64d6958b9cdd33222..68252f2c6bdb79d70b2b97cc6e575e399e27e74c 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "dnswriter.hh"
 #include "misc.hh"
 #include "dnsparser.hh"
index 8739715a0511464d87f6f8ac2836b041bee54584..679dc1b95dc2bb0060e9378282c6fe6931680a1e 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "iputils.hh"
 #include "sstuff.hh"
 #include "statbag.hh"
index 51d52328dd7203b42376fa23f4612f2e63049700..de76b508d6dcefd67b8e4d746d0c65358716c37c 100644 (file)
@@ -19,6 +19,9 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "packetcache.hh"
 #include "utility.hh"
 #include "dynhandler.hh"
index 4573b09ac2da2f90ed8f95c6402e4b433ad7bd74..4f112dec766403c7610b9eab884ec2ca99862304 100644 (file)
@@ -27,7 +27,6 @@
 #include <stdlib.h>
 #include <sys/types.h>
 
-#include "config.h"
 #include <unistd.h>
 
 #include "namespaces.hh"
index 5b3c8c1261796a83aa536579053311e1596dce86..d8535941457b71ffd2c14771d316bbf40a8b946d 100644 (file)
@@ -19,6 +19,9 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <cstring>
 #include <string>
 #include <map>
index bb2e4596cab8d40f3554c6f6fac5f21ef592e961..5457b2a7e23c55976de9258c18655b9da7fe67f0 100644 (file)
@@ -19,6 +19,9 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <iostream>
 #include <cstdio>
 #include <cstring>
@@ -38,7 +41,6 @@
 #include "misc.hh"
 #include "dynmessenger.hh"
 #include "arguments.hh"
-#include "config.h"
 #include "statbag.hh"
 #include "misc.hh"
 #include "namespaces.hh"
index fb52ca5c3c330ff93d6b03a5d42189d6634e29dd..001d7a4f2a1cdd2d92903e1dc61b29c5974cd0db 100644 (file)
@@ -19,6 +19,9 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "dynmessenger.hh"
 #include <cstdio>
 #include <cstdlib>
index ed31dbcb6a10c8eb0520dd4d651596caf7b7abed..176bbeb0ee7f7b89490680789cf00c7a9b30c72c 100644 (file)
@@ -1,5 +1,8 @@
 // utf-8 UTF-8 utf8 UTF8
 extern "C" {
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "ext/ed25519/crypto_sign.h"
 }
 #include "dnssecinfra.hh"
index fafd9b92c4a983205cb775f8a8e131a2b0cbcb49..ed9084f2e4d2f39a25a9622dec6f0df2477fdade 100644 (file)
@@ -20,6 +20,9 @@
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "ednssubnet.hh"
 #include "dns.hh"
 
index dcb195fa4db89ccdf90accc15316fec7fb39b324..c647ae99007a4df7600075e0f545e002875769aa 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "mplexer.hh"
 #include "sstuff.hh"
 #include <iostream>
index f1698ba33335412159584c442464b6effc777a24..9729c9c1d85b3f6e6bb76ffc29ea24ad320a8b20 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <vector>
 #include <deque>
 #include <iostream>
index 5ea22f9790b65d25cdeb8f763dd42ab4572ba616..2022db21236e7c5e73411ae8268be82c8e83d0f6 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "iputils.hh"
 #include <sys/socket.h> 
 
index 8e24ca508bbbeeaea7f574d0d1f635649856f455..ac00f3a5cdffd7a44ab088505d8afbd378579861 100644 (file)
@@ -19,6 +19,9 @@
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "json.hh"
 #include "namespaces.hh"
 #include "misc.hh"
index c078457316c05415874c57d1564e2d3dded83291..6d469baae4bea31ee8a7e83e6cf1de691a602af8 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "mplexer.hh"
 #include "sstuff.hh"
 #include <iostream>
index 95019049b768f38e699099584b83a9490dba7d22..2202372422f52e299c09d9177c496fecb677c963 100644 (file)
     along with this program; if not, write to the Free Software
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
-#include "logger.hh"
+#ifdef HAVE_CONFIG_H
 #include "config.h"
+#endif
+#include "logger.hh"
 #include "misc.hh"
 #ifndef RECURSOR
 #include "statbag.hh"
index e1d1d826fb2252c607d772d299530e8e1c7ba475..f74f4a1acf8ca29274b019111a66bc951c71a5d5 100644 (file)
@@ -27,7 +27,6 @@
 #include <ctime>
 #include <iostream>
 #include <sstream>
-#include "config.h"
 #include <syslog.h>
 #include <pthread.h>
 
index 6b6b6a472b93d256b8572432f5dcce55cf511e9e..f103f9e0aec016f7f6f2ff30949badf39955d938 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "lua-auth.hh"
 
 #if !defined(HAVE_LUA)
index 965645902391ddbd22d62f326ff8c8195b3a2aef..95a98bba1043adc88ef33512e601fa9889cdbfc0 100644 (file)
@@ -1,4 +1,6 @@
+#ifdef HAVE_CONFIG_H
 #include "config.h"
+#endif
 #ifdef HAVE_LUA
 extern "C" {
 #include <lua.h>
index c8bcefb02640216c41d6f2b7b556e128c983e9ba..7bc06467dbef08d99fb1825aa4f0f56afd381f2c 100644 (file)
@@ -1,7 +1,9 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "lua-pdns.hh"
 // #include "syncres.hh"
 #include <boost/foreach.hpp>
-#include "config.h"
 
 #if !defined(HAVE_LUA)
 
index de402f49dbd8b07987636e7c42b79d5f6d1eaaf6..3ff659f79978d68f1b6655fad7f88e60c842f815 100644 (file)
@@ -1,5 +1,7 @@
-#include "lua-recursor.hh"
+#ifdef HAVE_CONFIG_H
 #include "config.h"
+#endif
+#include "lua-recursor.hh"
 // to avoid including all of syncres.hh
 int directResolve(const std::string& qname, const QType& qtype, int qclass, vector<DNSResourceRecord>& ret);
 
index c60ed8a32c4d467d59208c909feedf76aa0b21fc..fe4eb9dea4b72de3c9a8492d62cc492f2f5c14e2 100644 (file)
@@ -21,6 +21,9 @@
 */
 
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "utility.hh"
 #include "lwres.hh"
 #include <iostream>
index cb3a6770b99f4564726ef62ff76c9802469fa7c7..3c801200752716c8c6df7cec90cb19caa82cc5b1 100644 (file)
@@ -19,6 +19,9 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "packetcache.hh"
 #include "utility.hh"
 #include <errno.h>
index e155bc9bc121587fc3f38e9cb43e778437ad26b0..872a72237d653896395b5f98e3d619661099f768 100644 (file)
@@ -20,6 +20,9 @@
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <sys/param.h>
 #include <sys/socket.h>
 #include <netdb.h>
index 4ea7770564a20b2d8f018ac29df9ab61f497c2e1..087dcbecb7db2ccad79330a0ad11dc3e8cab62d2 100644 (file)
@@ -20,6 +20,9 @@
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "mtasker.hh"
 #include "misc.hh"
 #include <stdio.h>
index 4dc932332120c0ef05f380383430e975b77ef070..37ed3c9839998d5e28f3952d21d3be393aae3f2a 100644 (file)
@@ -19,6 +19,9 @@
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "utility.hh"
 #include <cstdio>
 #include <cstring>
index 6f1eaed5b5c7ab545db46e2d1a6fd377601d42a5..70f20f8877d9e82752571ce71ce9b3651a2dc440 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <bitset>
 #include "dnsparser.hh"
 #include "iputils.hh"
index 44b916e43efd2b1da24b84dd5dedde990bd1f59a..7237a16b35e3de31d424f7a3066e10bf09959262 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <bitset>
 #include "dnsparser.hh"
 #include "iputils.hh"
index 5cee2908d3a766956e5828b445f621c65a08f617..d3bcdaa4f48eb34750ee2b2d30cfdb3e984e5abb 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "dnsparser.hh"
 #include "sstuff.hh"
 #include "misc.hh"
index 15b2efa2a46c83a6bb270f33f2436bbe42d7e8ac..9dc4994e32d14365575068bb9ad2e7299d723844 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "dnsrecords.hh"
 
 void NSECRecordContent::report(void)
index 5c7f013d0ae6d18bd31891169e64d1b593bd79f6..4ef5d2621d39d65b566f841187fa0ea0961ade1f 100644 (file)
@@ -19,6 +19,9 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "utility.hh"
 #include "packetcache.hh"
 #include "logger.hh"
index c727c31996bd87748cf388b7c02fa49871f7aae9..ef5599d4149bc6f2e698881e0f633d3a3b5606f8 100644 (file)
@@ -19,6 +19,9 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "packetcache.hh"
 #include "utility.hh"
 #include "base32.hh"
index 88299707b9024ebb3a14afe5a98198aec001a6a7..b0f13cc5eb9cf85089a1c14dbd6baa733d6b7a1b 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <boost/lexical_cast.hpp>
 #include <boost/multi_index_container.hpp>
 #include <boost/multi_index/ordered_index.hpp>
index 4ffbd16100db8b39d499eab6343f2a3dbc113c0a..df4276cf217bde3bc30a7977928a0eb3163181d0 100644 (file)
@@ -20,6 +20,9 @@
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <netdb.h>
 #include <sys/stat.h>
 #include <unistd.h>
index 851610589bbbb995e5fd637090cb603c3f721aea..bac88672e32467f566a62a9c264c0ad13c63cb24 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "dnsseckeeper.hh"
 #include "dnssecinfra.hh"
 #include "statbag.hh"
index 6dd3c669f80bc90be0be9bea2d73313a76a99ee7..c703b2e5e7cd9d2bfb3c27fd65e10e5c8bcc8e85 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <polarssl/rsa.h>
 #include <polarssl/base64.h>
 #include <polarssl/entropy.h>
index 5bdee4d5bf52bfed7dd0ba32a02b24d89fb13228..bba0193960cb1fa9e95f384f3c8a5dec7203db23 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <polarssl/rsa.h>
 #include <polarssl/base64.h>
 #include <sha.hh>
index 4e6fd49ade47353e1b4543b2cc197aa281a7fae0..5b38341bb6ba8d9dcd514dbf3732a240a1a7658d 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "mplexer.hh"
 #include "sstuff.hh"
 #include <iostream>
index db032e9954221889e60819306889fd6e6bf9c5e7..03ad0ed0d728a6fb8f16f8773ef5f9435e35d262 100644 (file)
@@ -1,4 +1,7 @@
 #if defined(__sun__) && defined(__svr4__)
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <port.h>
 #include <sys/port_impl.h>
 #endif
index ed7bf4fd06af19710762590ee25f8236364d48b8..c53db7dd54a224dfba48366b01218e2f18465a25 100644 (file)
@@ -19,6 +19,9 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "utility.hh"
 #include "dns.hh"
 #include <iostream>
index 89c1f6643e8e5c327e3e2d8ba986b08ff1fccbaf..9ea1b22c1f38696bb15e4c2d8a0c3ecb8e35ee2b 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "misc.hh"
 #include "logger.hh"
 #include <sys/types.h>
index a3b4354bc70efc3d768a03db5ef41f6cc4daa5e0..7a0111e174011181c4e29284668e99d1143ee6eb 100644 (file)
@@ -20,6 +20,9 @@
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "rcpgenerator.hh"
 #include "dnsparser.hh"
 #include "misc.hh"
index 69d01120acdd329b8c4f44971bf704bd003f9ae0..d27a7c2a3eb609560e4dc6686c784f3010740ad5 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "mtasker.hh"
 #include "syncres.hh"
 #include "rec_channel.hh"
index d566c06a71a49dbe936e3fd439e41359d0131f4d..77a5d68bacf90fd6833109d47f3be678377779ff 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "rec_channel.hh"
 #include <sys/socket.h>
 #include <cerrno>
index 4c0dc19a7183992e8813e71882363b92e6ed9ee7..44bca9b2c139abe99bf183f8311df32c50fc6397 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "utility.hh"
 #include "rec_channel.hh"
 #include <boost/lexical_cast.hpp>
index fb30046d975083cd977f9110ea534012bbf2f523..eb45651e1e3d2e162aea9d7e22becda9244190a4 100644 (file)
     along with this program; if not, write to the Free Software
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "rec_channel.hh"
 #include <iostream>
 #include "pdnsexception.hh"
 #include "arguments.hh"
-#include "config.h"
 
 #include "namespaces.hh"
 
index 3925f95e800c299d33b7fe081f68641b70cb2c63..7df07ca2c13d0fe67dd609b0b80dcf32393d34c8 100644 (file)
@@ -19,6 +19,9 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "packetcache.hh"
 
 #include <cstdio>
@@ -44,7 +47,6 @@
 #include <fstream>
 #include <boost/algorithm/string.hpp>
 
-#include "config.h"
 #include "dns.hh"
 #include "dnsbackend.hh"
 #include "ueberbackend.hh"
index c9e89d12b127a24cc76b081ecdce17aea109100c..f22a4c663804ed5ac261822ba25b0589bb790cb6 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <iostream>
 #include <boost/foreach.hpp>
 #include "recpacketcache.hh"
index dda3f4266635977e31d5b73ec0d8bab7bdd7ce25..8b1a173858c32edba4adec136917ecf1396bfcf7 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "recursor_cache.hh"
 #include "misc.hh"
 #include <iostream>
@@ -11,7 +14,6 @@
 #include "namespaces.hh"
 #include "namespaces.hh"
 
-#include "config.h"
 
 DNSResourceRecord String2DNSRR(const string& qname, const QType& qt, const string& serial, uint32_t ttd)
 {
index acf09ce910012536dce6de92588241895882759a..a6e3291449e52b5e8d36b8561176d0d0b92860da 100644 (file)
@@ -20,6 +20,9 @@
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "syncres.hh"
 #include "arguments.hh"
 #include "zoneparser-tng.hh"
index cd207248c2eca169881d114aaee4922b21ede296..cc0fd05d163a27c39030b48e556bcc22a25890bb 100644 (file)
@@ -19,6 +19,9 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "packetcache.hh"
 #include "utility.hh"
 #include "resolver.hh"
index bbaaed0878a67dc96585414985f7868bbdbc0d0f..ff4168da399f28baafb80276616875b6c1bed173 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "responsestats.hh"
 #include <limits>
 #include "namespaces.hh"
index a90a7ed15b03195f4f8b75c7b47e9d6f37c41271..4b254378e161eac39b91aa4248fd0c138fa65f7c 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "packethandler.hh"
 #include "qtype.hh"
 #include "dnspacket.hh"
index 290c362e44e2368dfaec0ae889dae495396040c7..b2fbf89252aed3e472aa6333d5e9f9aed0ec8369 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "dnsparser.hh"
 #include "sstuff.hh"
 #include "misc.hh"
index e4e9e9c759a964fc82ae0250f79466c417e29b5e..5cc0d3134ea15fd5ed9029710517988809804efe 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "dnsparser.hh"
 #include "sstuff.hh"
 #include "misc.hh"
index cf9cc8ff569c5b5e46056ffdf11256cec37c4d33..06a64539654c986e38001bfa2ac4e5030b1d9983 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "secpoll-auth.hh"
 
 #include "logger.hh"
index ffd227b7faf7cfd36bd945bf11d2bb3abca35c9d..c44d665fdede499feb7533f2c0ca13b865d53fd0 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "secpoll-recursor.hh"
 #include "syncres.hh"
 #include "logger.hh"
index 99f191ef7126081b355e7dc216198ed4ec43bd23..bb20b095e143630ce73833142190c6982dd5988e 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "mplexer.hh"
 #include "sstuff.hh"
 #include <iostream>
index e502bf045122dabf74892db73dd55ee1b2d33e70..c6c4a1775bd48a5338e6efc256c6c5e678770a14 100644 (file)
@@ -20,6 +20,9 @@
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "dnsseckeeper.hh"
 #include "dnspacket.hh"
 #include "namespaces.hh"
index 3b21b97b9b4867a501fe8fd47cc661a5f3ac6f92..9feb08e901f40dc3261d32bbef09d02a2e8db876 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "signingpipe.hh"
 #include "misc.hh"
 #include <poll.h>
index 6553ec65a9685ccb9ad39355c2b525738ef1d6cd..0009dea9c8573200b1d2f1853467fcba87b5d44f 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "utility.hh"
 #include <cstdio>
 #include <math.h>
index e28513da54851d1f162db178c43cfc4703fdbe9c..9c3fb69f17895e780b414849c6197b418f21f1fb 100644 (file)
@@ -19,6 +19,9 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "packetcache.hh"
 #include "utility.hh"
 #include "dnssecinfra.hh"
index 3a7f1c9eeb036770be9951180f67c5ac5a7a4555..8176f50b27ce6366587604da7e79763f80345012 100644 (file)
@@ -1,10 +1,10 @@
+#include "config.h"
 #include "dnsparser.hh"
 #include "sstuff.hh"
 #include "misc.hh"
 #include "dnswriter.hh"
 #include "dnsrecords.hh"
 #include <boost/format.hpp>
-#include "config.h"
 #ifndef RECURSOR
 #include "statbag.hh"
 #include "base64.hh"
index 618c3f8a700e9731fc77d6c8e2c8e59e1e025bb4..c910e04d23b47d5db08e5c226835dff02c1b0ec5 100644 (file)
@@ -4,6 +4,9 @@
 // Copyright (C) 2003, Michel Stol <michel@powerdns.com>
 //
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <string>
 #include <sstream>
 #include "ssqlite3.hh"
index 188e71b3a7e25e620a42e1950b95e2500f408550..8799c7ff0bc461444ab9a15153966ff4e329423d 100644 (file)
@@ -20,6 +20,9 @@
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "utility.hh"
 #include "statbag.hh"
 #include "pdnsexception.hh"
index 8a478ae9cdc4ab7adfe082f8cd91dbd44d0596f3..25083d40718ce791c4c4e975ca512c40588bc604 100644 (file)
@@ -20,6 +20,9 @@
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <boost/algorithm/string.hpp>
 #include <boost/foreach.hpp>
 #include "lua-recursor.hh"
index 675e21ff3f3bd490d03b959d5edd93da94fd9c67..de2e8c1280229249065834d8d039fe29f8bb7386 100644 (file)
@@ -19,6 +19,9 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "packetcache.hh"
 #include "utility.hh"
 #include "dnssecinfra.hh"
index e192b3237a5d9700ed1ba88658d582c182f37c65..24be0ca447f889ad1494e1c90f9fc6a51a898db4 100644 (file)
@@ -1,5 +1,8 @@
 #define BOOST_TEST_DYN_LINK
 #define BOOST_TEST_NO_MAIN
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <boost/test/unit_test.hpp>
 #include <boost/assign/list_of.hpp>
 #include <boost/foreach.hpp>
index bc9a3cb68582f904ac9f05b76003430a93a582de..60a915f074fff280b0853e527d44d48cfc8f2ecf 100644 (file)
@@ -1,5 +1,8 @@
 #define BOOST_TEST_DYN_LINK
 #define BOOST_TEST_NO_MAIN
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <boost/test/unit_test.hpp>
 #include <boost/assign/std/map.hpp>
 #include <boost/foreach.hpp>
index b3eb768a16387cf84a839fdc46d5abe29d75cf08..6a6470fd3a0ad26ff0a04fb654a1953650b38a66 100644 (file)
@@ -1,6 +1,9 @@
 #define BOOST_TEST_DYN_LINK
 #define BOOST_TEST_NO_MAIN
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <boost/test/unit_test.hpp>
 #include "bindparserclasses.hh"
 #include "misc.hh"
index 7c839b341649d3dc544ec5221bcdf67f73497823..5e9eb4df31de84ed4be9c5c844e2b6cadaff5fcd 100644 (file)
@@ -1,5 +1,8 @@
 #define BOOST_TEST_DYN_LINK
 #define BOOST_TEST_NO_MAIN
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <boost/test/unit_test.hpp>
 #include <boost/assign/std/map.hpp>
 #include <boost/foreach.hpp>
index 341e6297bdbac0ca3bbb94ea60fcd9e89ea0ad69..a16e703394c9976a7646da1d54aa33cfc30fc910 100644 (file)
@@ -1,5 +1,8 @@
 #define BOOST_TEST_DYN_LINK
 #define BOOST_TEST_NO_MAIN
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <boost/test/unit_test.hpp>
 #include <boost/assign/list_of.hpp>
 #include <boost/foreach.hpp>
index 43a0b67d5741a64bedc19dcab7b8bcbfd09db20b..ea6523a0358fb70565cdaebc58b3f3fc4f3da782 100644 (file)
@@ -1,5 +1,8 @@
 #define BOOST_TEST_DYN_LINK
 #define BOOST_TEST_NO_MAIN
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <boost/test/unit_test.hpp>
 #include "iputils.hh"
 
index 132ff44b2f193aa1c8428ec7db6a80e75c1ae66b..267b56a491f0a557e24d751c6fb8e51fce663117 100644 (file)
@@ -1,5 +1,8 @@
 #define BOOST_TEST_DYN_LINK
 #define BOOST_TEST_NO_MAIN
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <boost/test/unit_test.hpp>
 #include <boost/assign/list_of.hpp>
 #include <boost/foreach.hpp>
index 8732264f3e95878588447e42c4aeef5c1c0c7b65..7f4b2c85d0b3752dd54898e1b17849912b1bf6a6 100644 (file)
@@ -1,6 +1,9 @@
 #define BOOST_TEST_DYN_LINK
 #define BOOST_TEST_NO_MAIN
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <boost/test/unit_test.hpp>
 #include <boost/assign/list_of.hpp>
 #include <boost/foreach.hpp>
index 8417b5532d19bc800c4c93df7fe9d51ffb8bc64b..7ab8a6805c47a1eb877db3b437ed6107a8b40d38 100644 (file)
@@ -1,6 +1,9 @@
 #define BOOST_TEST_DYN_LINK
 #define BOOST_TEST_NO_MAIN
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <boost/test/unit_test.hpp>
 #include "iputils.hh"
 #include "nameserver.hh"
index 9121014eb46f83fbc81b49af72ef5434b47b0eef..fd1144d1e9e19bb85a7ad61e1f429bd99fcb4f24 100644 (file)
@@ -1,6 +1,9 @@
 #define BOOST_TEST_DYN_LINK
 #define BOOST_TEST_NO_MAIN
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <boost/test/unit_test.hpp>
 #include <boost/test/floating_point_comparison.hpp>
 #include "iputils.hh"
index 96e150e892a22d101db01d6db0d8022323d34c25..42bcfe2bea8b65931589e2155715f42c9eca90a6 100644 (file)
@@ -1,6 +1,9 @@
 #define BOOST_TEST_DYN_LINK
 #define BOOST_TEST_NO_MAIN
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <boost/test/unit_test.hpp>
 #include "rcpgenerator.hh"
 #include "misc.hh"
index 40af08c0b353c041a7d3761aebaeabb03cff584b..9ff1bb07dc4d7fe44130fe84a864e8b2f742ffb2 100644 (file)
@@ -1,5 +1,8 @@
 #define BOOST_TEST_DYN_LINK
 #define BOOST_TEST_NO_MAIN
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <boost/test/unit_test.hpp>
 #include <boost/assign/list_of.hpp>
 #include <boost/foreach.hpp>
index 48b82ea5b2c5e8c5dfbb96dff19abbb599db8644..e4d69fc342d5fd7e35406a1bf7381a0d08e7524e 100644 (file)
@@ -1,6 +1,9 @@
 #define BOOST_TEST_DYN_LINK
 #define BOOST_TEST_NO_MAIN
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <boost/test/unit_test.hpp>
 #include <boost/assign/list_of.hpp>
 #include <boost/foreach.hpp>
index 506fcdff39b7dd074e5bc970432bdbc7c335f3f7..de673f0a9c89c5faf1c7ab73bd1cf40ad694914d 100644 (file)
@@ -1,5 +1,8 @@
 #define BOOST_TEST_DYN_LINK
 #define BOOST_TEST_NO_MAIN
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <boost/test/unit_test.hpp>
 #include <boost/assign/list_of.hpp>
 #include <boost/foreach.hpp>
index 15a9d43aa4e297de57cbbe5e72384865857406f2..68cbdcaf0ec50b42cffe365dd6de1d92f96bac17 100644 (file)
@@ -2,6 +2,9 @@
 #define BOOST_TEST_MAIN
 #define BOOST_TEST_MODULE unit
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "packetcache.hh"
 StatBag S;
 PacketCache PC;
index 707007c05a234e6bcc3a785b5228925e01b4d92c..da63fa2f8816238a2f2ceb0117ea5159680c5501 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "dnsparser.hh"
 #include "sstuff.hh"
 #include "misc.hh"
index 34d85d31468963973f0b22ce0bd931813e3b8234..ecf52836c3ae811de948f9fdb06e1b9e7a625745 100644 (file)
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "dnsparser.hh"
 #include "dnswriter.hh"
 #include "sstuff.hh"
index 8117370b1f8a96d9d04ac4091093b67719738d17..629cbdbd0b4fec3e04a56d15761e724814233611 100644 (file)
     along with this program; if not, write to the Free Software
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <boost/archive/binary_iarchive.hpp>
 #include <boost/archive/binary_oarchive.hpp>
 
 #include "packetcache.hh"
 #include "utility.hh"
 
-#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif // HAVE_CONFIG_H
 
 #include <string>
 #include <map>
index 7064bc98dc3963d952533aabc2290dc85a35e3ae..45e9339bfcdeab3a96d669208cd025cca6a51a46 100644 (file)
@@ -21,6 +21,9 @@
 */
 
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "utility.hh"
 #include <cstring>
 #include <fcntl.h>
index 673e9098f5b7a3e4d05ffcfd6517e97308b5c33d..562e718b02317e13a65a6587a1782c6b8a095cb7 100644 (file)
@@ -20,6 +20,9 @@
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "utility.hh"
 #include <cstring>
 #include <fcntl.h>
index 1b33d595cf8e68b435a5bcfa2e371c0656b54b1f..0c04e5e09cefd49b47c94759096cc489ed5006c2 100644 (file)
@@ -20,6 +20,9 @@
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "logger.hh"
 #include "version.hh"
 #include "version_generated.h"
index 308da1394d6e5087c0d412dced181a00f05b594e..48c1eb0a63cf3ec4ad041d6c7fcb9343d3a94496 100644 (file)
@@ -19,6 +19,9 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "utility.hh"
 #include "webserver.hh"
 #include "misc.hh"
index faae37af0a4a3db0fca4610d05bdb2f19b1d8d8b..41389f3664d0571b242ddd8ce19de9f78df2eb18 100644 (file)
     along with this program; if not, write to the Free Software
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <boost/foreach.hpp>
 #include <boost/tokenizer.hpp>
 #include <boost/circular_buffer.hpp>
 #include "namespaces.hh"
 #include "ws-api.hh"
 #include "json.hh"
-#include "config.h"
 #include "version.hh"
 #include "arguments.hh"
 #include <stdio.h>
index b07d2a98fbf52fc64dc5a747295dc28eb1cef9ec..5214619dc2bc589e468965d2fb005e6639c30b60 100644 (file)
@@ -18,6 +18,9 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "utility.hh"
 #include "dynlistener.hh"
 #include "ws-auth.hh"
@@ -44,9 +47,6 @@
 #include "zoneparser-tng.hh"
 #include "common_startup.hh"
 
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif // HAVE_CONFIG_H
 
 using namespace rapidjson;
 
index 05ddb694a50605c840c4506d00e756b505989f7e..15dbac9a4b587e6e57e61a6fe948f6f207703cad 100644 (file)
@@ -19,6 +19,9 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "ws-recursor.hh"
 #include "json.hh"
 #include <boost/foreach.hpp>
index 6141215b808567643243a1e60cc342db265f3492..cc883d3de15aa45b32a86a2e5916062de23d93b4 100644 (file)
@@ -21,6 +21,9 @@
 */
 /* accepts a named.conf or a zone as parameter and outputs heaps of sql */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <unistd.h>
 #include <string>
 #include <map>
index 4dd7e9f24e9e19c4e775acfefe345e25cd15b27c..c81f254990a5ead69c26538412a0b84d710061d9 100644 (file)
@@ -19,6 +19,9 @@
 */
 
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <map>
 #include <string>
 #include <iostream>
index 5693fbae1c01fde8f269c53c7f1506cc88f77b16..36279b346bbdd71fb686dc247a0ed34ff5cf583f 100644 (file)
@@ -20,6 +20,9 @@
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <unistd.h>
 #include <string>
 #include <map>
index 317fd8bfbbda62bebd6b6eb4f40bb0cd9eca424b..a2a0e8803d49879ba0e269110ef43de0c2a656d8 100644 (file)
@@ -21,6 +21,9 @@
 */
 /* accepts a named.conf or a zone as parameter and outputs heaps of sql */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include <unistd.h>
 #include <string>
 #include <map>
index 4dd41b69e60c883baceaa7acb865f3b7c846ea6b..a6c90b63ac019c59f4190115870965a3e12a93d9 100644 (file)
@@ -20,6 +20,9 @@
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "dnsparser.hh"
 #include "sstuff.hh"
 #include "misc.hh"