qwriter-0.1.9-gcc47.patch 570 B

1234567891011121314
  1. https://bugs.gentoo.org/show_bug.cgi?id=425252
  2. Index: qwriter-0.1.9-src/qtsingleapplication-2.6-opensource/linux/src/qtlocalpeer.cpp
  3. ===================================================================
  4. --- qwriter-0.1.9-src.orig/qtsingleapplication-2.6-opensource/linux/src/qtlocalpeer.cpp
  5. +++ qwriter-0.1.9-src/qtsingleapplication-2.6-opensource/linux/src/qtlocalpeer.cpp
  6. @@ -56,6 +56,7 @@ typedef BOOL(WINAPI*PProcessIdToSessionI
  7. static PProcessIdToSessionId pProcessIdToSessionId = 0;
  8. #endif
  9. #if defined(Q_OS_UNIX)
  10. +#include <unistd.h>
  11. #include <time.h>
  12. #endif