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;

