iwyu and fix compile on linux

This commit is contained in:
Dane Springmeyer 2013-05-25 16:04:40 -07:00
parent 8f84146948
commit 4bd63ce7a0
13 changed files with 13 additions and 2 deletions

View file

@ -5,6 +5,7 @@
#include <sstream> #include <sstream>
#include <string> #include <string>
#include <vector> #include <vector>
#include <algorithm>
#include "agg_color_rgba.h" #include "agg_color_rgba.h"
#include "agg_pixfmt_rgba.h" #include "agg_pixfmt_rgba.h"
#include "agg_rendering_buffer.h" #include "agg_rendering_buffer.h"

View file

@ -13,6 +13,7 @@
#include <iostream> #include <iostream>
#include <fstream> #include <fstream>
#include <vector> #include <vector>
#include <algorithm>
// agg // agg
#include "agg_conv_clip_polygon.h" #include "agg_conv_clip_polygon.h"

View file

@ -4,6 +4,7 @@
#include <boost/detail/lightweight_test.hpp> #include <boost/detail/lightweight_test.hpp>
#include <iostream> #include <iostream>
#include <vector> #include <vector>
#include <algorithm>
int main(int argc, char** argv) int main(int argc, char** argv)
{ {

View file

@ -4,6 +4,7 @@
#include "plugins/input/csv/csv_datasource.hpp" #include "plugins/input/csv/csv_datasource.hpp"
#include <mapnik/params.hpp> #include <mapnik/params.hpp>
#include <vector> #include <vector>
#include <algorithm>
int main(int argc, char** argv) int main(int argc, char** argv)
{ {

View file

@ -20,6 +20,7 @@
#include <mapnik/datasource_cache.hpp> #include <mapnik/datasource_cache.hpp>
#include <mapnik/params.hpp> #include <mapnik/params.hpp>
#include <vector> #include <vector>
#include <algorithm>
extern "C" { extern "C" {
#include <sqlite3.h> #include <sqlite3.h>

View file

@ -8,6 +8,7 @@ namespace sys = boost::system;
#include <iostream> #include <iostream>
#include <mapnik/font_engine_freetype.hpp> #include <mapnik/font_engine_freetype.hpp>
#include <vector> #include <vector>
#include <algorithm>
int main(int argc, char** argv) int main(int argc, char** argv)
{ {

View file

@ -18,7 +18,7 @@
#include <mapnik/color_factory.hpp> #include <mapnik/color_factory.hpp>
#include <mapnik/save_map.hpp> #include <mapnik/save_map.hpp>
#include <vector> #include <vector>
#include <algorithm>
int main(int argc, char** argv) int main(int argc, char** argv)
{ {

View file

@ -18,6 +18,7 @@
#include <boost/detail/lightweight_test.hpp> #include <boost/detail/lightweight_test.hpp>
#include <iostream> #include <iostream>
#include <vector> #include <vector>
#include <algorithm>
struct output_geometry_backend struct output_geometry_backend
{ {

View file

@ -9,6 +9,7 @@ namespace sys = boost::system;
#include <mapnik/image_reader.hpp> #include <mapnik/image_reader.hpp>
#include <mapnik/image_util.hpp> #include <mapnik/image_util.hpp>
#include <vector> #include <vector>
#include <algorithm>
int main(int argc, char** argv) int main(int argc, char** argv)
{ {

View file

@ -4,7 +4,7 @@
#include <mapnik/geometry.hpp> #include <mapnik/geometry.hpp>
#include <mapnik/geom_util.hpp> #include <mapnik/geom_util.hpp>
#include <vector> #include <vector>
#include <algorithm>
int main(int argc, char** argv) int main(int argc, char** argv)
{ {

View file

@ -19,6 +19,7 @@
#include <mapnik/feature_style_processor.hpp> #include <mapnik/feature_style_processor.hpp>
#include <boost/foreach.hpp> #include <boost/foreach.hpp>
#include <vector> #include <vector>
#include <algorithm>
bool compare_images(std::string const& src_fn,std::string const& dest_fn) bool compare_images(std::string const& src_fn,std::string const& dest_fn)
{ {

View file

@ -5,6 +5,7 @@
#include <mapnik/params.hpp> #include <mapnik/params.hpp>
#include <mapnik/boolean.hpp> #include <mapnik/boolean.hpp>
#include <vector> #include <vector>
#include <algorithm>
#include <boost/variant.hpp> #include <boost/variant.hpp>
int main(int argc, char** argv) int main(int argc, char** argv)

View file

@ -6,6 +6,7 @@
#include <mapnik/feature.hpp> #include <mapnik/feature.hpp>
#include <mapnik/feature_factory.hpp> #include <mapnik/feature_factory.hpp>
#include <vector> #include <vector>
#include <algorithm>
int main(int argc, char** argv) int main(int argc, char** argv)