diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2014-02-13 19:46:01 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-16 16:06:31 +0100 |
commit | 2f3f19e6f7e0a2f635762a4ee053020c2237ad30 (patch) | |
tree | 0817368ef265f90eedcc469a4142718cc6fc1a7e /tests | |
parent | 167a7202b2e3a8a94361fadf04f3570f6f2c7708 (diff) |
Prospective iOS build fix for tst_qqmlmoduleplugin
Include unistd.h for _PC_CASE_SENSITIVE
Change-Id: I0c57d7d84fa4c7379502dbf95fd22476724d5fa3
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qml/qqmlmoduleplugin/tst_qqmlmoduleplugin.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlmoduleplugin/tst_qqmlmoduleplugin.cpp b/tests/auto/qml/qqmlmoduleplugin/tst_qqmlmoduleplugin.cpp index 04c7e51e4f..15be1fdbc0 100644 --- a/tests/auto/qml/qqmlmoduleplugin/tst_qqmlmoduleplugin.cpp +++ b/tests/auto/qml/qqmlmoduleplugin/tst_qqmlmoduleplugin.cpp @@ -44,6 +44,11 @@ #include <QtQml/qqmlcomponent.h> #include <QDebug> +#if defined(Q_OS_MAC) +// For _PC_CASE_SENSITIVE +#include <unistd.h> +#endif + #include "../../shared/testhttpserver.h" #include "../../shared/util.h" |