]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[1470] Move include of config.h before all other includes
authorStephen Morris <stephen@isc.org>
Tue, 13 Dec 2011 11:46:06 +0000 (11:46 +0000)
committerStephen Morris <stephen@isc.org>
Tue, 13 Dec 2011 11:46:06 +0000 (11:46 +0000)
src/bin/resolver/tests/response_scrubber_unittest.cc
src/lib/asiodns/dns_service.cc
src/lib/asiolink/io_service.cc
src/lib/nsas/tests/nameserver_address_store_unittest.cc
src/lib/resolve/recursive_query.cc

index 1570defac83901e308b391636a3db4a9eeba34cc..37e2553e82552db5dc864a0b77a138badcecc6b2 100644 (file)
 // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 // PERFORMANCE OF THIS SOFTWARE.
 
-// $Id$
+#include <config.h>
 
 #include <string>
 #include <iostream>
 
 #include <gtest/gtest.h>
 
-#include <config.h>
-
 #include <asiolink/io_endpoint.h>
 #include <asiolink/io_address.h>
 #include <netinet/in.h>
index 94510fe520a5da1b8740031df1c66cb6027d1bf6..ed7d717ca1b24800d3a37863f79dd986d8ac766e 100644 (file)
 // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 // PERFORMANCE OF THIS SOFTWARE.
 
+#include <config.h>
+
 #include <netinet/in.h>
 #include <sys/socket.h>
 #include <unistd.h>             // for some IPC/network system calls
 
 #include <boost/lexical_cast.hpp>
 
-#include <config.h>
-
 #include <log/dummylog.h>
 
 #include <asio.hpp>
index 70cc18b0fa184d109b6cd70363db4144202fff5c..76d5ee1164be4982934e51e0e1d539402b14f3bd 100644 (file)
 // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 // PERFORMANCE OF THIS SOFTWARE.
 
+#include <config.h>
+
 #include <netinet/in.h>
 #include <sys/socket.h>
 #include <unistd.h>             // for some IPC/network system calls
 
-#include <config.h>
-
 #include <asio.hpp>
 #include <asiolink/io_service.h>
 
index abbac1db9ee69a739a92e1b370911b5e900a5844..4785627ef3a28712f1e9791eb232c830034a732e 100644 (file)
@@ -16,6 +16,8 @@
 ///
 /// This file contains tests for the nameserver address store as a whole.
 
+#include <config.h>
+
 #include <algorithm>
 #include <cassert>
 #include <string.h>
@@ -26,8 +28,6 @@
 #include <boost/shared_ptr.hpp>
 #include <gtest/gtest.h>
 
-#include <config.h>
-
 #include <dns/rdataclass.h>
 #include <dns/rrclass.h>
 #include <dns/rrset.h>
index 55f473e1ce460d035d24726187aae7e62913e2a1..5446974d94f7ed9b41cc4ebb1442420c51d6116e 100644 (file)
@@ -12,6 +12,8 @@
 // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 // PERFORMANCE OF THIS SOFTWARE.
 
+#include <config.h>
+
 #include <netinet/in.h>
 #include <stdlib.h>
 #include <sys/socket.h>
@@ -21,8 +23,6 @@
 #include <boost/lexical_cast.hpp>
 #include <boost/bind.hpp>
 
-#include <config.h>
-
 #include <dns/question.h>
 #include <dns/message.h>
 #include <dns/opcode.h>