LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File ste-0.4.0-gcc47.patch of Package ste (Project home:zhonghuaren)

Index: application/3rdparty/qtsingleapplication/qtlocalpeer.cpp
===================================================================
--- application/3rdparty/qtsingleapplication/qtlocalpeer.cpp.orig
+++ application/3rdparty/qtsingleapplication/qtlocalpeer.cpp
@@ -57,6 +57,7 @@ static PProcessIdToSessionId pProcessIdT
 #endif
 #if defined(Q_OS_UNIX)
 #include <time.h>
+#include <unistd.h>
 #endif
 
 namespace QtLP_Private {
Index: application/3rdparty/uncrustify/src/uncrustify.cpp
===================================================================
--- application/3rdparty/uncrustify/src/uncrustify.cpp.orig
+++ application/3rdparty/uncrustify/src/uncrustify.cpp
@@ -21,7 +21,7 @@
 #include "log_levels.h"
 #include "md5.h"
 #include "backup.h"
-
+#include <unistd.h>
 #include <cstdio>
 #include <cstdlib>
 #include <cstring>