Fix missing <math.h> header in qrenderdoc for Arch/clang++

Add the <math.h> header to some of the source files for the target
qrenderdoc. The build would not have succeded without these headers
declaration under Arch Linux/clang++.
This commit is contained in:
Alberto Taiuti
2016-10-19 18:55:50 +02:00
committed by baldurk
parent ae06f86a1c
commit d1e5149527
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -23,6 +23,7 @@
******************************************************************************/
#include "CustomPaintWidget.h"
#include <math.h>
#include <QPainter>
#include "Code/CaptureContext.h"
#include "renderdoc_replay.h"
+1
View File
@@ -24,6 +24,7 @@
#include "RangeHistogram.h"
#include <float.h>
#include <math.h>
#include <QMouseEvent>
#include <QPainter>
+1
View File
@@ -24,6 +24,7 @@
#include "TextureViewer.h"
#include <float.h>
#include <math.h>
#include <QClipboard>
#include <QColorDialog>
#include <QJsonDocument>