From 06d8aaba21496e6a39a7c18dd82e0d3efbeb531c Mon Sep 17 00:00:00 2001 From: Bryce Harrington Date: Thu, 31 Jan 2008 19:06:59 +0000 Subject: Applying fixes for gcc 4.3 build issues (closes LP: #169115) (bzr r4629) --- src/libavoid/router.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/libavoid/router.cpp') diff --git a/src/libavoid/router.cpp b/src/libavoid/router.cpp index 4b1652ca0..df0bacd02 100644 --- a/src/libavoid/router.cpp +++ b/src/libavoid/router.cpp @@ -17,9 +17,10 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * + * */ +#include #include "libavoid/shape.h" #include "libavoid/router.h" #include "libavoid/visibility.h" @@ -636,7 +637,7 @@ void Router::markConnectors(ShapeRef *shape) if (((int) r_p2.y) != 0) { printf("r_p2.y: %f != 0\n", r_p2.y); - abort(); + std::abort(); } // This might be slightly off. r_p2.y = 0; -- cgit v1.2.3