fix test component build on non-Linux platform

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2020-12-12 12:02:58 +00:00
parent 18ae07da38
commit 3271263050

View file

@ -38,6 +38,10 @@
#include "qmath.h"
#include "qdebug.h"
#ifdef QT_HAVE_CLOCK_GETTIME
# include <time.h>
#endif
QT_BEGIN_NAMESPACE
// QBenchmarkTimeMeasurer implementation