--- wt-2.99.0/src/Wt/WGoogleMap.C.orig	2009-03-12 09:52:56.000000000 +0100
+++ wt-2.99.0/src/Wt/WGoogleMap.C	2009-03-12 10:13:21.000000000 +0100
@@ -18,6 +18,12 @@
 #include <sstream>
 #include <utility>
 #include <iostream>
+
+#if not defined(_GLIBCXX_HAVE__SINL) && not defined(acosl)
+#define cosl cos
+#define acosl acos
+#define sinl sin
+#endif
 
 using std::string;
 using std::vector;