aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlaccessors_p.h
diff options
context:
space:
mode:
authorAnselmo L. S. Melo <anselmo.melo@openbossa.org>2012-04-04 11:28:22 -0300
committerQt by Nokia <qt-info@nokia.com>2012-04-09 23:41:37 +0200
commitdf2adc4a45a94c332104ef4114a8d25da21f8c98 (patch)
tree81a2cafcbd1eb576a17135c4c6c7f4e3a395c4ea /src/qml/qml/qqmlaccessors_p.h
parent5f1b7bf39298dafdd07e576eec2a6a367e80b264 (diff)
Fix compilation on Linux
Fix build error of QtDeclarative master (8b0831f0b0) on Linux with g++ 4.7.0. Change-Id: I5aaa6e95c8ebd360a7fbf3bb3c85c699e6594ac7 Reviewed-by: Sean Harmer <sean.harmer@kdab.com> Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
Diffstat (limited to 'src/qml/qml/qqmlaccessors_p.h')
-rw-r--r--src/qml/qml/qqmlaccessors_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlaccessors_p.h b/src/qml/qml/qqmlaccessors_p.h
index 8e67a58511..7558ab3e35 100644
--- a/src/qml/qml/qqmlaccessors_p.h
+++ b/src/qml/qml/qqmlaccessors_p.h
@@ -47,7 +47,7 @@
#include <QtCore/qhash.h>
#include <QtCore/QReadWriteLock>
-#ifdef Q_OS_QNX
+#if defined(Q_OS_QNX) || defined(Q_OS_LINUX)
#include <stdint.h>
#endif