summaryrefslogtreecommitdiff
blob: 265d73fd9e7118c21b6d4ed4146aef6b942b0bcd (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
https://github.com/audacity/audacity/issues/4489
https://bugs.gentoo.org/899764

--- a/lib-src/libnyquist/nyquist/nyqstk/include/Stk.h
+++ b/lib-src/libnyquist/nyquist/nyqstk/include/Stk.h
@@ -47,6 +47,7 @@
 #endif
 
 #include <stddef.h>
+#include <stdint.h>
 #include <string>
 #include <iostream>
 #include <sstream>
@@ -355,10 +356,6 @@
 typedef signed int SINT32;
 typedef float FLOAT32;
 typedef double FLOAT64;
-// added by RBD
-#ifdef __linux__
-#define intptr_t long
-#endif
 
 // The default sampling rate.
 const StkFloat SRATE = 44100.0;