diff --git a/Convex_hull_3/include/CGAL/convex_hull_3.h b/Convex_hull_3/include/CGAL/convex_hull_3.h index 18a11329308..a463f7aabd8 100644 --- a/Convex_hull_3/include/CGAL/convex_hull_3.h +++ b/Convex_hull_3/include/CGAL/convex_hull_3.h @@ -46,6 +46,7 @@ #include #include #include +#include #include @@ -70,6 +71,8 @@ template class Extreme_points_traits_ada namespace Convex_hull_3 { namespace internal { +BOOST_MPL_HAS_XXX_TRAIT_NAMED_DEF(Has_nested_type_Collinear_3, Collinear_3, false) + // wrapper used as a MutableFaceGraph to extract extreme points template struct Output_iterator_wrapper @@ -994,7 +997,8 @@ void convex_hull_3(InputIterator first, InputIterator beyond, template void convex_hull_3(InputIterator first, InputIterator beyond, PolygonMesh& polyhedron, - const Traits& traits) + const Traits& traits, + std::enable_if_t::value>* = 0) { typedef typename Traits::Point_3 Point_3; typedef std::list Point_3_list; diff --git a/Optimal_bounding_box/include/CGAL/Optimal_bounding_box/oriented_bounding_box.h b/Optimal_bounding_box/include/CGAL/Optimal_bounding_box/oriented_bounding_box.h index 61cabd171f8..b4c79172810 100644 --- a/Optimal_bounding_box/include/CGAL/Optimal_bounding_box/oriented_bounding_box.h +++ b/Optimal_bounding_box/include/CGAL/Optimal_bounding_box/oriented_bounding_box.h @@ -35,6 +35,7 @@ #include #endif +#include #include #include diff --git a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/intersection.h b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/intersection.h index 7d1b1b6e6bf..b4c6d2e822d 100644 --- a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/intersection.h +++ b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/intersection.h @@ -28,6 +28,7 @@ #include #include +#include #include #include