aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/qt4-qtsolutions-singleapplication/files/patch-src_qtlocalpeer.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/devel/qt4-qtsolutions-singleapplication/files/patch-src_qtlocalpeer.cpp b/devel/qt4-qtsolutions-singleapplication/files/patch-src_qtlocalpeer.cpp
new file mode 100644
index 000000000000..fa401718e146
--- /dev/null
+++ b/devel/qt4-qtsolutions-singleapplication/files/patch-src_qtlocalpeer.cpp
@@ -0,0 +1,10 @@
+--- src/qtlocalpeer.cpp.orig 2011-06-03 10:11:13.000000000 +0000
++++ src/qtlocalpeer.cpp
+@@ -49,6 +49,7 @@ typedef BOOL(WINAPI*PProcessIdToSessionI
+ static PProcessIdToSessionId pProcessIdToSessionId = 0;
+ #endif
+ #if defined(Q_OS_UNIX)
++#include <unistd.h>
+ #include <time.h>
+ #endif
+