| 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 <[email protected]>
|
| 6 | Last-Update: 2013-04-17
|
| 7 | |
| 8 | |
| 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 | |
| 18 | |
| 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 | |
| 28 | |
| 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 | |
| 38 | |
| 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 | |
| 48 | |
| 49 | @@ -30,6 +30,7 @@
|
| 50 | #include "TaoPitch.h"
|
| 51 | #include <iostream>
|
| 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 | |
| 58 | |
| 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 | |
| 70 | |
| 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 | |
| 82 | |
| 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 | |
| 93 | |
| 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 | {
|