summaryrefslogtreecommitdiffstats
path: root/WebCore/platform
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2010-02-05 15:10:43 +0000
committerSteve Block <steveblock@google.com>2010-02-05 15:17:53 +0000
commitbdbb949a7bd75598dc571f80002cdc185cd515bf (patch)
treed4f6c24ba913cb56aaf5ab57534b240a1c5edacc /WebCore/platform
parent14fdbbe4f8b7731af47530c11ed17e29234151b7 (diff)
downloadexternal_webkit-bdbb949a7bd75598dc571f80002cdc185cd515bf.zip
external_webkit-bdbb949a7bd75598dc571f80002cdc185cd515bf.tar.gz
external_webkit-bdbb949a7bd75598dc571f80002cdc185cd515bf.tar.bz2
Speculative build fix for sim-eng
Change-Id: I8cdd95a002b21c317e77eb456d3eddf2f3036cc1
Diffstat (limited to 'WebCore/platform')
-rw-r--r--WebCore/platform/android/GeolocationServiceAndroid.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/WebCore/platform/android/GeolocationServiceAndroid.cpp b/WebCore/platform/android/GeolocationServiceAndroid.cpp
index 3ffb9b9..3d45e75 100644
--- a/WebCore/platform/android/GeolocationServiceAndroid.cpp
+++ b/WebCore/platform/android/GeolocationServiceAndroid.cpp
@@ -32,6 +32,10 @@
#include "PositionError.h"
#include "PositionOptions.h"
+#if PLATFORM(ANDROID)
+// Required for sim-eng build
+#include <math.h>
+#endif
#include <wtf/CurrentTime.h>
using JSC::Bindings::getJNIEnv;