diff -up term.c.orig term.c --- term.c.orig 2015-08-25 19:53:25.000000000 +0200 +++ term.c 2015-08-30 11:40:05.723748387 +0200 @@ -33,7 +33,11 @@ #include #include #include +#ifdef __GLIBC__ #include +#else +#include +#endif #ifdef __linux__ #include #endif