Index: cmath.hpp =================================================================== --- cmath.hpp (revision 70956) +++ cmath.hpp (working copy) @@ -18,7 +18,9 @@ # define BOOST_CONFIG_NO_CMATH_RECURSION # endif +# if defined(__cplusplus) # include +# endif # ifdef BOOST_CONFIG_NO_CMATH_RECURSION # undef BOOST_TR1_NO_RECURSION Index: complex.hpp =================================================================== --- complex.hpp (revision 70956) +++ complex.hpp (working copy) @@ -18,7 +18,9 @@ # define BOOST_CONFIG_NO_COMPLEX_RECURSION # endif +# if defined(__cplusplus) # include +# endif # ifdef BOOST_CONFIG_NO_COMPLEX_RECURSION # undef BOOST_TR1_NO_RECURSION Index: functional.hpp =================================================================== --- functional.hpp (revision 70956) +++ functional.hpp (working copy) @@ -18,7 +18,9 @@ # define BOOST_CONFIG_NO_FUNCTIONAL_RECURSION # endif +# if defined(__cplusplus) # include +# endif # ifdef BOOST_CONFIG_NO_FUNCTIONAL_RECURSION # undef BOOST_TR1_NO_RECURSION Index: memory.hpp =================================================================== --- memory.hpp (revision 70956) +++ memory.hpp (working copy) @@ -18,7 +18,9 @@ # define BOOST_CONFIG_NO_MEMORY_RECURSION # endif +# if defined(__cplusplus) # include +# endif # ifdef BOOST_CONFIG_NO_MEMORY_RECURSION # undef BOOST_TR1_NO_RECURSION Index: utility.hpp =================================================================== --- utility.hpp (revision 70956) +++ utility.hpp (working copy) @@ -18,7 +18,9 @@ # define BOOST_CONFIG_NO_UTILITY_RECURSION # endif +# if defined(__cplusplus) # include +# endif # ifdef BOOST_CONFIG_NO_UTILITY_RECURSION # undef BOOST_TR1_NO_RECURSION