Fix compilation on Linux
authorAnselmo L. S. Melo <anselmo.melo@openbossa.org>
Wed, 4 Apr 2012 14:28:22 +0000 (11:28 -0300)
committerQt by Nokia <qt-info@nokia.com>
Mon, 9 Apr 2012 21:41:37 +0000 (23:41 +0200)
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>
src/qml/qml/qqmlaccessors_p.h

index 8e67a58..7558ab3 100644 (file)
@@ -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