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 + int WaitKey ( void ) { --- a/mpcenc/mpcenc.h +++ b/mpcenc/mpcenc.h @@ -50,7 +50,7 @@ # include #endif -#if defined __linux__ +#if defined __GLIBC__ # include #elif defined __FreeBSD__ # include