From 097e6beeff3fb77dac86f8f38e467b2d704c2a25 Mon Sep 17 00:00:00 2001 From: Sean Harmer <sean.harmer@kdab.com> Date: Wed, 18 Feb 2015 13:46:28 +0000 Subject: [PATCH] Use std math on doubles and include cmath Required to build on QNX 6.6. Change-Id: If45aef4e3c0488f390187858e8ecafb18d7f5960 Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> --- src/plugins/imageformats/dds/qddshandler.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/imageformats/dds/qddshandler.cpp b/src/plugins/imageformats/dds/qddshandler.cpp index 0734f4a6..9d44f264 100644 --- a/src/plugins/imageformats/dds/qddshandler.cpp +++ b/src/plugins/imageformats/dds/qddshandler.cpp @@ -41,6 +41,8 @@ #include "ddsheader.h" +#include <cmath> + #ifndef QT_NO_DATASTREAM QT_BEGIN_NAMESPACE -- GitLab