summaryrefslogtreecommitdiff
path: root/media-sound/musepack-tools/files/musepack-tools-465-musl.patch
blob: f7fb0f7710827ebe5e11e784aea289ee9694ae22 (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
Bug: https://bugs.gentoo.org/712978

--- a/mpcenc/keyboard.c
+++ b/mpcenc/keyboard.c
@@ -84,6 +84,8 @@
 #  define echo_on()   (void)0
 # endif
 
+# include <sys/select.h>
+
 int
 WaitKey ( void )
 {
--- a/mpcenc/mpcenc.h
+++ b/mpcenc/mpcenc.h
@@ -50,7 +50,7 @@
 # include <unistd.h>
 #endif
 
-#if   defined __linux__
+#if   defined __GLIBC__
 #  include <fpu_control.h>
 #elif defined __FreeBSD__
 # include <machine/floatingpoint.h>