mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
22 lines
577 B
Diff
22 lines
577 B
Diff
--- qtsingleapplication/src/qtlocalpeer.cpp.orig 2012-07-19 15:01:51.610446745 +0000
|
|
+++ qtsingleapplication/src/qtlocalpeer.cpp 2012-07-19 15:01:10.499880379 +0000
|
|
@@ -49,6 +49,7 @@
|
|
static PProcessIdToSessionId pProcessIdToSessionId = 0;
|
|
#endif
|
|
#if defined(Q_OS_UNIX)
|
|
+#include <unistd.h>
|
|
#include <time.h>
|
|
#endif
|
|
|
|
--- processwrapper.cc.orig 2012-07-19 14:59:46.495424725 +0000
|
|
+++ processwrapper.cc 2012-07-19 15:00:07.155695828 +0000
|
|
@@ -94,6 +94,8 @@
|
|
|
|
#else
|
|
|
|
+#include <unistd.h>
|
|
+
|
|
unsigned int ProcessWrapper::currentProcessId()
|
|
{
|
|
return getpid();
|