Fix build with gcc 4.7.(cherry picked from commit 41c503eb54)

This commit is contained in:
Fisiu 2012-03-26 13:01:27 +03:00 committed by Christophe Dumez
parent 1c4ae8ffbf
commit 1ecffb777a

View file

@ -58,7 +58,7 @@ static PProcessIdToSessionId pProcessIdToSessionId = 0;
#if defined(Q_OS_UNIX)
#include <time.h>
#endif
#if defined(Q_OS_OS2)
#if defined(Q_OS_OS2) || defined(Q_OS_UNIX)
#include <unistd.h>
#endif