aboutsummaryrefslogtreecommitdiff
path: root/audio/calf/gcc47.patch
blob: 7328a107ab85b38c5a266fe41c2e27f14df838e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
diff -Naur calf-0.0.18.6.orig/src/calf/benchmark.h calf-0.0.18.6/src/calf/benchmark.h
--- calf-0.0.18.6.orig/src/calf/benchmark.h	2010-08-22 23:25:15.000000000 +0200
+++ calf-0.0.18.6/src/calf/benchmark.h	2012-09-15 21:25:28.194000789 +0200
@@ -22,6 +22,7 @@
 #define __CALF_BENCHMAR_H
 
 #include <time.h>
+#include <unistd.h>
 #include <sys/time.h>
 #include <sys/resource.h>
 #include "primitives.h"
diff -Naur calf-0.0.18.6.orig/src/osctlnet.cpp calf-0.0.18.6/src/osctlnet.cpp
--- calf-0.0.18.6.orig/src/osctlnet.cpp	2010-08-22 23:25:15.000000000 +0200
+++ calf-0.0.18.6/src/osctlnet.cpp	2012-09-15 21:21:15.580000799 +0200
@@ -26,6 +26,7 @@
 #include <stdlib.h>
 #include <sstream>
 #include <stdio.h>
+#include <unistd.h>
 using namespace osctl;
 using namespace std;
 
diff -Naur calf-0.0.18.6.orig/src/preset.cpp calf-0.0.18.6/src/preset.cpp
--- calf-0.0.18.6.orig/src/preset.cpp	2010-08-22 23:25:15.000000000 +0200
+++ calf-0.0.18.6/src/preset.cpp	2012-09-15 21:23:23.418997406 +0200
@@ -22,6 +22,7 @@
 #include <config.h>
 #include <fcntl.h>
 #include <stdlib.h>
+#include <unistd.h>
 #include <errno.h>
 #include <string.h>
 #include <sys/stat.h>