--- a/cpio/cpio.c +++ b/cpio/cpio.c @@ -91,9 +91,9 @@ #include #include -#ifdef _AIX +#if defined (_AIX) || defined (__GLIBC__) #include -#endif /* _AIX */ +#endif /* _AIX || __GLIBC__ */ #ifndef major #include --- a/ls/ls.c +++ b/ls/ls.c @@ -119,7 +119,7 @@ #include #endif /* USE_TERMCAP */ -#ifdef _AIX +#if defined (_AIX) || defined (__GLIBC__) #include #endif