]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
geoipbackend: Reorder includes
authorAki Tuomi <cmouse@cmouse.fi>
Sat, 30 Dec 2017 11:45:45 +0000 (13:45 +0200)
committerAki Tuomi <cmouse@cmouse.fi>
Wed, 14 Feb 2018 07:15:53 +0000 (09:15 +0200)
modules/geoipbackend/geoipbackend.cc
modules/geoipbackend/geoipbackend.hh

index 25a685929b7646ca3ef3efdf5f9f36aa3618b3d7..9f536666fa0f9107057415aef5e6166c4dcea08e 100644 (file)
@@ -29,6 +29,8 @@
 #include <regex.h>
 #include <glob.h>
 #include <boost/algorithm/string/replace.hpp>
+#include <fstream>
+#include <yaml-cpp/yaml.h>
 
 pthread_rwlock_t GeoIPBackend::s_state_lock=PTHREAD_RWLOCK_INITIALIZER;
 
index b872f06c9b9aeb789f9b73350ecef2135402fd5e..b224e41742c0af39efacbf3195279f81e3816d14 100644 (file)
 #include <vector>
 #include <map>
 #include <string>
-#include <fstream>
-#include <yaml-cpp/yaml.h>
 #include <pthread.h>
-
-#include <GeoIP.h>
-#include <GeoIPCity.h>
 #include <sys/types.h>
 #include <dirent.h>
 
+#include "GeoIP.h"
 #include "pdns/dnspacket.hh"
 #include "pdns/dns.hh"
 #include "pdns/dnsbackend.hh"