diff --git a/Arrangement_on_surface_2/include/CGAL/Arr_single_cell_2.h b/Arrangement_on_surface_2/include/CGAL/Arr_single_cell_2.h index 2772fe8454d..09fd82924c3 100644 --- a/Arrangement_on_surface_2/include/CGAL/Arr_single_cell_2.h +++ b/Arrangement_on_surface_2/include/CGAL/Arr_single_cell_2.h @@ -54,7 +54,9 @@ // DOES NOT WORK FOR UNBOUNDED //#include -//#include +#if !CGAL_USE_ACK_2 +#include +#endif // required for Constructor of RI_observer #include @@ -686,11 +688,15 @@ public: // TASK select best point location strategy //! type of point location strategy - typedef CGAL::Arr_naive_point_location< Arrangement_2 > Point_location; +#if CGAL_USE_ACK_2 + typedef CGAL::Arr_naive_point_location< Arrangement_2 > Point_location; +#else // DO NOT WORK FOR UNBOUNDED! //typedef CGAL::Arr_simple_point_location< Arrangement_2 > Point_location; - //typedef Arr_walk_along_line_point_location< Arrangement_2 > + typedef Arr_walk_along_line_point_location< Arrangement_2 > Point_location; +#endif + //Point_location; //!\name Constructors