summaryrefslogtreecommitdiff
path: root/audio/hydrogen/patches/gcc47.patch
blob: 13cf39469d388a3b9bc3ed417780e591f4838d8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff -Naur a/gui/src/MainForm.cpp b/gui/src/MainForm.cpp
--- a/gui/src/MainForm.cpp	2012-02-19 21:54:05.000000000 +0000
+++ b/gui/src/MainForm.cpp	2014-11-28 09:13:01.930327087 +0000
@@ -20,6 +20,7 @@
  *
  */
 #include "version.h"
+#include "unistd.h"
 
 
 #include <hydrogen/hydrogen.h>
diff -Naur a/libs/hydrogen/src/IO/portmidi_driver.cpp b/libs/hydrogen/src/IO/portmidi_driver.cpp
--- a/libs/hydrogen/src/IO/portmidi_driver.cpp	2012-01-16 23:20:51.000000000 +0000
+++ b/libs/hydrogen/src/IO/portmidi_driver.cpp	2014-11-28 09:13:01.931327087 +0000
@@ -20,6 +20,7 @@
  *
  */
 
+#include "unistd.h"
 #include "PortMidiDriver.h"
 
 #include <hydrogen/Preferences.h>