slackbuilds_ponce/office/mytetra/mytetra-gcc4.7.patch

11 lines
347 B
Diff
Raw Normal View History

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