Commit | Line | Data |
---|---|---|
f5340e00 RW |
1 | Taken from Debian: |
2 | https://salsa.debian.org/multimedia-team/taopm/-/raw/master/debian/patches/01-add-missing-headers.diff | |
3 | ||
4 | Description: Adding missing headers | |
5 | Author: Tiago Bortoletto Vaz <tiago@debian.org> | |
6 | Last-Update: 2013-04-17 | |
7 | --- a/libtao/Tao.cc | |
8 | +++ b/libtao/Tao.cc | |
9 | @@ -18,6 +18,7 @@ | |
10 | ||
11 | #include "Tao.h" | |
12 | #include <iostream> | |
13 | +#include <stdio.h> | |
14 | ||
15 | extern Tao tao; | |
16 | float &Time = tao.synthesisEngine.time; | |
17 | --- a/libtao/TaoDevice.cc | |
18 | +++ b/libtao/TaoDevice.cc | |
19 | @@ -20,6 +20,7 @@ | |
20 | #include "Tao.h" | |
21 | #include "TaoAccessPoint.h" | |
22 | #include "TaoInstrument.h" | |
23 | +#include <cstring> | |
24 | ||
25 | TaoDevice::TaoDevice() | |
26 | { | |
27 | --- a/libtao/TaoInstrument.cc | |
28 | +++ b/libtao/TaoInstrument.cc | |
29 | @@ -23,6 +23,7 @@ | |
30 | //#include <sys/types.h> | |
31 | #include <iostream> | |
32 | #include <cmath> | |
33 | +#include <cstring> | |
34 | ||
35 | float TaoInstrument::defaultMass=3.5; // Set to optimum value for | |
36 | // frequency response of | |
37 | --- a/libtao/TaoOutput.cc | |
38 | +++ b/libtao/TaoOutput.cc | |
39 | @@ -24,6 +24,7 @@ | |
40 | #include <fstream> | |
41 | #include "TaoOutput.h" | |
42 | #include "Tao.h" | |
43 | +#include <cstring> | |
44 | ||
45 | extern Tao tao; | |
46 | ||
47 | --- a/libtao/TaoPitch.cc | |
48 | +++ b/libtao/TaoPitch.cc | |
49 | @@ -30,6 +30,7 @@ | |
50 | #include "TaoPitch.h" | |
51 | #include <iostream>\r | |
52 | #include <cmath> | |
53 | +#include <cstring> | |
54 | ||
55 | // This class allows pitches and frequencies to be specified in a number of | |
56 | // different formats including the following: | |
57 | --- a/taoparse/taoparser.yy | |
58 | +++ b/taoparse/taoparser.yy | |
59 | @@ -19,7 +19,8 @@ | |
60 | ||
61 | #include <iostream> | |
62 | #include <sstream> | |
63 | -#include <string> | |
64 | +#include <cstring> | |
65 | +#include <stdio.h> | |
66 | #include "taoparserdefs.h" | |
67 | ||
68 | int yyerror(char *s); | |
69 | --- a/libtao/TaoGraphicsEngine.cc | |
70 | +++ b/libtao/TaoGraphicsEngine.cc | |
71 | @@ -27,7 +27,8 @@ | |
72 | #include "TaoInstrument.h" | |
73 | #include "TaoAccessPoint.h" | |
74 | #include "TaoDevice.h" | |
75 | -#include <string> | |
76 | +#include <cstring> | |
77 | +#include <stdio.h> | |
78 | ||
79 | extern Tao tao; | |
80 | extern void taoMasterTick(); | |
81 | --- a/tao2aiff/tao2aiff.cc | |
82 | +++ b/tao2aiff/tao2aiff.cc | |
83 | @@ -25,6 +25,8 @@ | |
84 | #include <cmath> | |
85 | #include "audiofile.h" | |
86 | #include "tao2aiff.h" | |
87 | +#include <cstdlib> | |
88 | +#include <cstring> | |
89 | ||
90 | ||
91 | main(int argc, char **argv) | |
92 | --- a/tao2wav/tao2wav.cc | |
93 | +++ b/tao2wav/tao2wav.cc | |
94 | @@ -25,6 +25,8 @@ | |
95 | #include <cmath> | |
96 | #include "audiofile.h" | |
97 | #include "tao2wav.h" | |
98 | +#include <cstdlib> | |
99 | +#include <cstring> | |
100 | ||
101 | main(int argc, char **argv) | |
102 | { |