diff --git a/include/boost/math/distributions/arcsine.hpp b/include/boost/math/distributions/arcsine.hpp index d921e1145..899bfb1b2 100644 --- a/include/boost/math/distributions/arcsine.hpp +++ b/include/boost/math/distributions/arcsine.hpp @@ -30,15 +30,21 @@ #ifndef BOOST_MATH_DIST_ARCSINE_HPP #define BOOST_MATH_DIST_ARCSINE_HPP -#include #include #include -#include #include // complements. #include // error checks. #include - #include // isnan. +#include +#include + +#ifndef BOOST_MATH_HAS_NVRTC +#include +#include +#include +#include // For std::domain_error. +#endif #if defined (BOOST_MSVC) # pragma warning(push) @@ -46,9 +52,6 @@ // in domain_error_imp in error_handling. #endif -#include -#include // For std::domain_error. - namespace boost { namespace math