File hydrogen-gcc47.patch of Package hydrogen

Index: src/gui/src/SongEditor/SongEditor.cpp
===================================================================
--- src/gui/src/SongEditor/SongEditor.cpp.orig	2011-07-13 07:20:49.000000000 +0200
+++ src/gui/src/SongEditor/SongEditor.cpp	2012-03-17 21:26:39.717208076 +0100
@@ -21,6 +21,7 @@
  */
 
 #include <assert.h>
+#include <unistd.h>
 #include <algorithm>
 #include <memory>
 
Index: src/gui/src/MainForm.cpp
===================================================================
--- src/gui/src/MainForm.cpp.orig	2011-07-04 23:27:45.000000000 +0200
+++ src/gui/src/MainForm.cpp	2012-03-17 21:33:34.983627498 +0100
@@ -20,6 +20,7 @@
  *
  */
 
+#include <unistd.h>
 #include <hydrogen/event_queue.h>
 #include <hydrogen/version.h>
 #include <hydrogen/hydrogen.h>
openSUSE Build Service is sponsored by