diff --git a/src/core/global.cpp b/src/core/global.cpp index 75959c3246d..9164c5e0b43 100644 --- a/src/core/global.cpp +++ b/src/core/global.cpp @@ -147,7 +147,7 @@ const std::unordered_map fields{ {&nptiso.piston, Datafield::Type::DOUBLE, 1, "npt_piston"}}, /* 27 from pressure.cpp */ {FIELD_PERIODIC, - {&periodic, Datafield::Type::BOOL, 3, + {&periodic, Datafield::Type::INT, 1, "periodicity"}}, /* 28 from grid.cpp */ {FIELD_SKIN, {&skin, Datafield::Type::DOUBLE, 1, "skin"}}, /* 29 from integrate.cpp */ diff --git a/src/core/utils/serialization/List.hpp b/src/core/utils/serialization/List.hpp index fdc2d172ee1..ae7fc37db38 100644 --- a/src/core/utils/serialization/List.hpp +++ b/src/core/utils/serialization/List.hpp @@ -20,6 +20,9 @@ along with this program. If not, see . #define CORE_UTILS_SERIALIZATION_LIST_HPP #include +#if BOOST_VERSION >= 106400 && BOOST_VERSION < 106500 +#include +#endif #include #include "core/utils/List.hpp"