You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
435 B

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>