$OpenBSD: patch-Src_DasherCore_DasherViewSquare_cpp,v 1.1.1.1 2007/11/19 20:43:55 jasper Exp $
--- Src/DasherCore/DasherViewSquare.cpp.orig	Mon Oct 15 15:55:00 2007
+++ Src/DasherCore/DasherViewSquare.cpp	Mon Nov 19 21:11:05 2007
@@ -21,6 +21,7 @@
 #include <limits>
 
 #include <iostream>
+#include <stdlib.h>
 
 using namespace Dasher;
 
@@ -802,7 +803,7 @@ inline myint CDasherViewSquare::CustomIDiv(myint iNume
   else
     return quot;
 #else
-  lldiv_t res = __gnu_cxx::lldiv(iNumerator, iDenominator);
+  lldiv_t res = lldiv(iNumerator, iDenominator);
   
   if(res.rem < 0)
     return res.quot - 1;
