Commit f1104654 authored by Stephen Morris's avatar Stephen Morris

[1470] Move include of config.h before all other includes

parent f1f4ce3e
......@@ -12,15 +12,13 @@
// 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>
......
......@@ -12,14 +12,14 @@
// 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>
......
......@@ -12,12 +12,12 @@
// 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>
......
......@@ -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>
......
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment