summaryrefslogtreecommitdiff
path: root/tests/auto/debugger
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/debugger')
-rw-r--r--tests/auto/debugger/temporarydir.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/debugger/temporarydir.h b/tests/auto/debugger/temporarydir.h
index fd640d6261..b00c662bed 100644
--- a/tests/auto/debugger/temporarydir.h
+++ b/tests/auto/debugger/temporarydir.h
@@ -41,6 +41,10 @@
#include <QDir>
#include <stdlib.h> // mkdtemp
+#ifdef Q_OS_MAC
+ #include <unistd.h>
+#endif
+
QT_BEGIN_NAMESPACE
//************* TemporaryDirPrivate