diff options
author | Simon Hausmann <simon.hausmann@theqtcompany.com> | 2015-10-02 11:00:53 +0200 |
---|---|---|
committer | Frederik Gladhorn <frederik.gladhorn@theqtcompany.com> | 2015-10-02 09:02:21 +0000 |
commit | 7c0b9e1e8d069afab997efd3df9632d342b23150 (patch) | |
tree | 6ec646a09e47d05294097545289a19f046d669ec /src/corelib/io/qtemporarydir.cpp | |
parent | f191ba9d71bd910f205a2f41c5ac6c0d959439ed (diff) |
Fix build without PCH after commit 3ae2387f375798a983b6d052723f10fc88b63da0
Include errno.h for errno and EEXIST.
Change-Id: Id28d5a08097319eb84b1fe9ef20c9be6ebe575fa
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
Diffstat (limited to 'src/corelib/io/qtemporarydir.cpp')
-rw-r--r-- | src/corelib/io/qtemporarydir.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/corelib/io/qtemporarydir.cpp b/src/corelib/io/qtemporarydir.cpp index c7150d7b33..71436c6497 100644 --- a/src/corelib/io/qtemporarydir.cpp +++ b/src/corelib/io/qtemporarydir.cpp @@ -49,6 +49,10 @@ #include <private/qfilesystemengine_p.h> #endif +#if !defined(Q_OS_WIN) +#include <errno.h> +#endif + QT_BEGIN_NAMESPACE //************* QTemporaryDirPrivate |