Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

0001-Fix-build-with-gcc47.patch 1003B

123456789101112131415161718192021222324252627282930313233343536373839
  1. From 9bcbe9483b1e6902ed1bdd67ea0a6dc9f3a4678d Mon Sep 17 00:00:00 2001
  2. From: Nicolas Chauvet <kwizart@gmail.com>
  3. Date: Sun, 8 Apr 2012 17:55:50 +0200
  4. Subject: [PATCH] Fix build with gcc47
  5. ---
  6. src/Project/WorkspaceWorker.cpp | 2 ++
  7. src/vlmc.h | 2 ++
  8. 2 files changed, 4 insertions(+)
  9. diff --git a/src/Project/WorkspaceWorker.cpp b/src/Project/WorkspaceWorker.cpp
  10. index 377b87c..d615e05 100644
  11. --- a/src/Project/WorkspaceWorker.cpp
  12. +++ b/src/Project/WorkspaceWorker.cpp
  13. @@ -20,6 +20,8 @@
  14. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  15. *****************************************************************************/
  16. +#include <unistd.h> // link
  17. +
  18. #include "WorkspaceWorker.h"
  19. #include "Media.h"
  20. diff --git a/src/vlmc.h b/src/vlmc.h
  21. index 7f6cb4b..6f0489c 100644
  22. --- a/src/vlmc.h
  23. +++ b/src/vlmc.h
  24. @@ -24,6 +24,8 @@
  25. #ifndef VLMC_H
  26. #define VLMC_H
  27. +#include <unistd.h> // sleep
  28. +
  29. #include <QtGlobal>
  30. #ifdef Q_OS_WIN
  31. --
  32. 1.7.9.3