summaryrefslogtreecommitdiff
path: root/src/corelib/kernel/qtranslator.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-04-22 17:30:51 +0200
committerThiago Macieira <thiago.macieira@nokia.com>2009-07-02 13:29:35 +0200
commit29302d2429ed81f4396155383b602e7bde4edd3b (patch)
tree434cccb049b37e0659fbc8d312bed3eaa9fc943d /src/corelib/kernel/qtranslator.cpp
parentc5f83fbd89d6bb950fb012c285879f6c88b5bdf3 (diff)
downloadqt4-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.cpp1
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