aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/auto/qml/qqmlmoduleplugin/tst_qqmlmoduleplugin.cpp5
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"