diff --git a/Cantera/src/CVodesIntegrator.h b/Cantera/src/CVodesIntegrator.h index 07d828d7f..b4bd6f5b4 100644 --- a/Cantera/src/CVodesIntegrator.h +++ b/Cantera/src/CVodesIntegrator.h @@ -13,6 +13,8 @@ #ifndef CT_CVODESWRAPPER_H #define CT_CVODESWRAPPER_H +#ifdef HAS_SUNDIALS + #ifdef WIN32 #pragma warning(disable:4786) #pragma warning(disable:4503) @@ -23,10 +25,11 @@ #include "ctexceptions.h" #include "ct_defs.h" -//#include -//#include - +#ifdef SUNDIALS_VERSION_22 +#include +#else #include +#endif namespace Cantera { @@ -106,4 +109,6 @@ namespace Cantera { } // namespace +#endif + #endif