Include cycle_p.h only conditionally
authorEckhart Koppen <eckhart.koppen@nokia.com>
Mon, 13 Jun 2011 11:41:03 +0000 (14:41 +0300)
committerQt Continuous Integration System <qt-info@nokia.com>
Mon, 13 Jun 2011 13:45:18 +0000 (15:45 +0200)
commita37f8e08ec295fe25b9ac663b8cda8109a1c38cf
treee5e9c09f22c5f4f61afc4d229cba6f22eefb3eea
parentfd1411a8e5ec46f7841608f4baf13c7a16535a79
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>
src/testlib/qbenchmarkmeasurement_p.h