diff options
author | Jake Petroules <jake.petroules@qt.io> | 2017-09-07 22:20:14 -0700 |
---|---|---|
committer | Jake Petroules <jake.petroules@qt.io> | 2017-09-12 03:40:19 +0000 |
commit | a763d6a88be732de4beb3c28dbe2cde7a063c83a (patch) | |
tree | 2e0eba92a622be5e435307a10e50cf8580f10403 /src/quick/items | |
parent | 9fd39f34f7512d199a1f68dcff4f50e469897e31 (diff) |
Add missing math.h include for math functions
On some platforms, math functions in the std namespace don't work even
if cmath is included.
Change-Id: Ia71d22b07f508e0584de5320f376fbf4b3a2887b
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/quick/items')
-rw-r--r-- | src/quick/items/qquickflickable.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/quick/items/qquickflickable.cpp b/src/quick/items/qquickflickable.cpp index c92d370a48..c75a682f4a 100644 --- a/src/quick/items/qquickflickable.cpp +++ b/src/quick/items/qquickflickable.cpp @@ -55,6 +55,7 @@ #include <QtCore/qmath.h> #include "qplatformdefs.h" +#include <math.h> #include <cmath> QT_BEGIN_NAMESPACE |