From: Anselmo L. S. Melo Date: Wed, 4 Apr 2012 14:28:22 +0000 (-0300) Subject: Fix compilation on Linux X-Git-Tag: upstream/5.2.1~2143 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=df2adc4a45a94c332104ef4114a8d25da21f8c98;p=platform%2Fupstream%2Fqtdeclarative.git 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 Reviewed-by: Michael Brasser --- diff --git a/src/qml/qml/qqmlaccessors_p.h b/src/qml/qml/qqmlaccessors_p.h index 8e67a58..7558ab3 100644 --- a/src/qml/qml/qqmlaccessors_p.h +++ b/src/qml/qml/qqmlaccessors_p.h @@ -47,7 +47,7 @@ #include #include -#ifdef Q_OS_QNX +#if defined(Q_OS_QNX) || defined(Q_OS_LINUX) #include #endif