slackbuilds_ponce/office/mytetra/mytetra-gcc4.7.patch
Andrey Maraev 52b0c31ba8 office/mytetra: Patched to build with gcc47
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
2012-09-10 22:21:34 -05:00

10 lines
347 B
Diff

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