diff --git a/include/mapnik/datasource.hpp b/include/mapnik/datasource.hpp index afc5b456d..0cb9a59b2 100644 --- a/include/mapnik/datasource.hpp +++ b/include/mapnik/datasource.hpp @@ -94,6 +94,11 @@ public: return params_ == rhs.params(); } + bool operator!=(datasource const& rhs) const + { + return !(*this == rhs); + } + /*! * @brief Get the type of the datasource * @return The type of the datasource (Vector or Raster) diff --git a/include/mapnik/datasource_geometry_type.hpp b/include/mapnik/datasource_geometry_type.hpp index ada1d196d..00e4b2af7 100644 --- a/include/mapnik/datasource_geometry_type.hpp +++ b/include/mapnik/datasource_geometry_type.hpp @@ -23,6 +23,8 @@ #ifndef MAPNIK_DATASOURCE_GEOMETRY_TYPE_HPP #define MAPNIK_DATASOURCE_GEOMETRY_TYPE_HPP +#include + namespace mapnik { enum datasource_geometry_t : std::uint8_t {