Merge pull request #2 from Fisiu/patch-1

Fix build with gcc 4.7.
This commit is contained in:
Christophe Dumez 2012-03-26 08:05:34 -07:00
commit f62c38a8a7

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