diff --git a/include/boost/regex/config.hpp b/include/boost/regex/config.hpp index 28b8d35a..808bfcea 100644 --- a/include/boost/regex/config.hpp +++ b/include/boost/regex/config.hpp @@ -189,11 +189,7 @@ using std::distance; #ifndef BOOST_REGEX_DECL # define BOOST_REGEX_DECL #endif - -#if (defined(BOOST_MSVC) || defined(__BORLANDC__)) && !defined(BOOST_REGEX_NO_LIB) && !defined(BOOST_REGEX_SOURCE) -# include -#endif - + // Borland C++ Fix/error check: #if defined(__BORLANDC__) # if (__BORLANDC__ == 0x550) || (__BORLANDC__ == 0x551) @@ -218,6 +214,10 @@ using std::distance; # endif #endif +#if (defined(BOOST_MSVC) || defined(__BORLANDC__)) && !defined(BOOST_REGEX_NO_LIB) && !defined(BOOST_REGEX_SOURCE) +# include +#endif + /***************************************************************************** * * Set up function call type: