Include cycle_p.h only conditionally
cycle_p.h is only needed when HAVE_TICK_COUNTER is defined, and should not be included otherwise. It is also a 3rd party header which is not exported as a private header so far, which makes compilation of dependenty modules fail. Change-Id: I5c2546eae7d65fc68b8411c20634aca541c327d6 Reviewed-on: http://codereview.qt.nokia.com/465 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Marius Storm-Olsen <marius.storm-olsen@nokia.com>
This commit is contained in:
parent
fd1411a8e5
commit
a37f8e08ec
@ -54,7 +54,9 @@
|
||||
//
|
||||
|
||||
#include <QtCore/qelapsedtimer.h>
|
||||
#ifdef HAVE_TICK_COUNTER
|
||||
#include "3rdparty/cycle_p.h"
|
||||
#endif
|
||||
#include "qbenchmark.h"
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
Loading…
Reference in New Issue
Block a user