From 45bf920947a7be2af047bd0f09a76a3c2064c3d7 Mon Sep 17 00:00:00 2001 From: Rafael Roquetto Date: Tue, 14 Feb 2012 17:44:44 +0100 Subject: [PATCH] Fixes QTemporaryDir compilation error under QNX. Checking for Q_OS_QNX as well upon QFileSystemEngine inclusion. Change-Id: Ia0e0d7344abaae6dd6375528f0cc17dbefafe8d8 Reviewed-by: Andreas Holzammer Reviewed-by: Oswald Buddenhagen --- src/corelib/io/qtemporarydir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/io/qtemporarydir.cpp b/src/corelib/io/qtemporarydir.cpp index 13969ca90e..f8cd2e780e 100644 --- a/src/corelib/io/qtemporarydir.cpp +++ b/src/corelib/io/qtemporarydir.cpp @@ -52,7 +52,7 @@ #endif #include // mkdtemp -#ifdef Q_OS_WIN +#if defined(Q_OS_QNX) || defined(Q_OS_WIN) #include #endif