Fix qfile autotest on qnx

This fixes the compilation of the qfile autotest on qnx.

Change-Id: Iab099e8b754a4341152e338ff6e3d22a83c625e3
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
bb10
Fabian Bumberger 2013-02-21 18:57:51 +01:00 committed by The Qt Project
parent 6d270051a2
commit faefc09e93
1 changed files with 6 additions and 0 deletions

View File

@ -82,6 +82,12 @@ QT_END_NAMESPACE
# include <qplatformdefs.h>
#endif
#ifdef Q_OS_QNX
#ifdef open
#undef open
#endif
#endif
#include <stdio.h>
#include <errno.h>