diff --git a/src/Mod/Path/App/Area.cpp b/src/Mod/Path/App/Area.cpp index b3f2440dcc..11f11fc63f 100644 --- a/src/Mod/Path/App/Area.cpp +++ b/src/Mod/Path/App/Area.cpp @@ -35,7 +35,7 @@ # include "boost_fix/intrusive/detail/memory_util.hpp" # include "boost_fix/container/detail/memory_util.hpp" # endif -# include +# include # include # include # include diff --git a/src/boost_geometry.hpp b/src/boost_geometry.hpp new file mode 100644 index 0000000000..e3d066ebdc --- /dev/null +++ b/src/boost_geometry.hpp @@ -0,0 +1,9 @@ +#ifndef FREECAD_GEOMETRY_HPP_WORKAROUND +#define FREECAD_GEOMETRY_HPP_WORKAROUND + +// Workaround for boost >= 1.74 +#define BOOST_ALLOW_DEPRECATED_HEADERS +#include +#undef BOOST_ALLOW_DEPRECATED_HEADERS + +#endif // #ifndef FREECAD_GEOMETRY_HPP_WORKAROUND