diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2009-04-22 17:30:51 +0200 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2009-07-02 13:29:35 +0200 |
commit | 29302d2429ed81f4396155383b602e7bde4edd3b (patch) | |
tree | 434cccb049b37e0659fbc8d312bed3eaa9fc943d /src/corelib/kernel/qtranslator.cpp | |
parent | c5f83fbd89d6bb950fb012c285879f6c88b5bdf3 (diff) | |
download | qt4-tools-29302d2429ed81f4396155383b602e7bde4edd3b.tar.gz |
Port most uses of ::open and QT_OPEN to the safe version.
This ensures that we're calling the open64 version of this function as
well as handling the O_CLOEXEC flag and EINTR errors.
Reviewed-By: João Abecasis
Diffstat (limited to 'src/corelib/kernel/qtranslator.cpp')
-rw-r--r-- | src/corelib/kernel/qtranslator.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/kernel/qtranslator.cpp b/src/corelib/kernel/qtranslator.cpp index 64cf16e8e8..4aed2b223d 100644 --- a/src/corelib/kernel/qtranslator.cpp +++ b/src/corelib/kernel/qtranslator.cpp @@ -58,6 +58,7 @@ #if defined(Q_OS_UNIX) #define QT_USE_MMAP +#include "private/qcore_unix_p.h" #endif // most of the headers below are already included in qplatformdefs.h |