diff --git a/mapbox/boost_spirit_karma.hpp b/mapbox/boost_spirit_karma.hpp index 0a5fbf1..eb732e2 100644 --- a/mapbox/boost_spirit_karma.hpp +++ b/mapbox/boost_spirit_karma.hpp @@ -5,10 +5,21 @@ #ifndef MAPBOX_BOOST_SPIRIT_KARMA_HPP #define MAPBOX_BOOST_SPIRIT_KARMA_HPP + +#ifdef BOOST_SPIRIT_GENERATOR_JANUARY_13_2009_1002AM + #error "ERROR file must be included before boost spirit karma" +#endif + + #include namespace boost { using mapbox::util::get; } #include +#include + +#ifndef BOOST_SPIRIT_GENERATOR_JANUARY_13_2009_1002AM + #error "ERROR include guard for boost spirit karma has changed!" +#endif #endif diff --git a/mapbox/boost_spirit_qi.hpp b/mapbox/boost_spirit_qi.hpp index 8a0b019..decbf83 100644 --- a/mapbox/boost_spirit_qi.hpp +++ b/mapbox/boost_spirit_qi.hpp @@ -5,6 +5,11 @@ #ifndef MAPBOX_BOOST_SPIRIT_QI_HPP #define MAPBOX_BOOST_SPIRIT_QI_HPP + +#ifdef BOOST_SPIRIT_PARSER_OCTOBER_16_2008_0254PM + #error "ERROR file must be included before boost spirit qi" +#endif + #include #include @@ -22,4 +27,9 @@ namespace boost { namespace spirit { namespace qi { namespace detail }}}} +#include +#ifndef BOOST_SPIRIT_PARSER_OCTOBER_16_2008_0254PM + #error "ERROR include guard for boost spirit qi has changed!" +#endif + #endif