]> git.sur5r.net Git - minitube/commitdiff
Fix for GCC 4.7
authorFlavio <flavio@odisseo.local>
Tue, 11 Dec 2012 08:55:41 +0000 (09:55 +0100)
committerFlavio <flavio@odisseo.local>
Tue, 11 Dec 2012 08:55:41 +0000 (09:55 +0100)
src/qtsingleapplication/qtlocalpeer.cpp

index 4c4382d23fd3d0ada885532d8196557e2ff46837..e7db47d9b3e15a9572f2ee6454c112ed8d83cb88 100644 (file)
@@ -57,6 +57,8 @@ typedef BOOL(WINAPI*PProcessIdToSessionId)(DWORD,DWORD*);
 static PProcessIdToSessionId pProcessIdToSessionId = 0;
 #endif
 #if defined(Q_OS_UNIX)
+#include <unistd.h>
+#include <sys/types.h>
 #include <time.h>
 #endif