summaryrefslogtreecommitdiffstats
path: root/office/mytetra/mytetra-gcc4.7.patch
diff options
context:
space:
mode:
Diffstat (limited to 'office/mytetra/mytetra-gcc4.7.patch')
-rw-r--r--office/mytetra/mytetra-gcc4.7.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/office/mytetra/mytetra-gcc4.7.patch b/office/mytetra/mytetra-gcc4.7.patch
new file mode 100644
index 0000000000..1662bf5053
--- /dev/null
+++ b/office/mytetra/mytetra-gcc4.7.patch
@@ -0,0 +1,10 @@
+Index: src/qtsingleapplication/qtlocalpeer.cpp
+===================================================================
+--- src/qtsingleapplication/qtlocalpeer.cpp.orig
++++ src/qtsingleapplication/qtlocalpeer.cpp
+@@ -57,6 +57,7 @@ static PProcessIdToSessionId pProcessIdT
+ #endif
+ #if defined(Q_OS_UNIX)
+ #include <time.h>
++#include <unistd.h>
+ #endif