aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar epoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-06-09 22:16:28 +0000
committerGravatar epoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-06-09 22:16:28 +0000
commit80afbf08eb82a99f8a2eeeb1741eb7ca1ccf957d (patch)
tree71b34726c1218debaa34788a742b1abd2c68bae5 /include
parentea325437bd5a9996422b640087b64742363e5b55 (diff)
#include <math.h> if SK_SCALAR_IS_FIXED but SK_CAN_USE_FLOAT
git-svn-id: http://skia.googlecode.com/svn/trunk@1561 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r--include/core/SkScalar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/core/SkScalar.h b/include/core/SkScalar.h
index 5dbf6841a0..ba113f41c5 100644
--- a/include/core/SkScalar.h
+++ b/include/core/SkScalar.h
@@ -18,6 +18,7 @@
#define SkScalar_DEFINED
#include "SkFixed.h"
+#include "SkFloatingPoint.h"
/** \file SkScalar.h
@@ -29,7 +30,6 @@
*/
#ifdef SK_SCALAR_IS_FLOAT
- #include "SkFloatingPoint.h"
/** SkScalar is our type for fractional values and coordinates. Depending on
compile configurations, it is either represented as an IEEE float, or