summaryrefslogtreecommitdiff
path: root/community/calf/include_fix.patch
blob: 243bd86abe85520681eec442d6eda653a9cd0158 (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 -aur calf-0.0.18.6.orig/src/benchmark.cpp calf-0.0.18.6/src/benchmark.cpp
--- calf-0.0.18.6.orig/src/benchmark.cpp	2012-07-08 21:57:55.246042862 +0800
+++ calf-0.0.18.6/src/benchmark.cpp	2012-07-08 21:58:20.015908672 +0800
@@ -26,6 +26,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <config.h>
+#include <unistd.h>
 #include <calf/audio_fx.h>
 
 #ifdef BENCHMARK_PLUGINS
diff -aur 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	2012-07-08 21:57:55.246042862 +0800
+++ calf-0.0.18.6/src/osctlnet.cpp	2012-07-08 21:58:19.002580827 +0800
@@ -26,6 +26,7 @@
 #include <stdlib.h>
 #include <sstream>
 #include <stdio.h>
+#include <unistd.h>
 using namespace osctl;
 using namespace std;
 
diff -aur 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	2012-07-08 21:57:55.246042862 +0800
+++ calf-0.0.18.6/src/preset.cpp	2012-07-08 21:58:18.989247567 +0800
@@ -20,6 +20,7 @@
  */
 
 #include <config.h>
+#include <unistd.h>
 #include <fcntl.h>
 #include <stdlib.h>
 #include <errno.h>