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.
gentoo-overlay/sys-apps/heirloom-tools/files/heirloom-tools-070715-major...

26 lines
464 B

--- a/cpio/cpio.c
+++ b/cpio/cpio.c
@@ -91,9 +91,9 @@
#include <sfile.h>
#include <atoll.h>
-#ifdef _AIX
+#if defined (_AIX) || defined (__GLIBC__)
#include <sys/sysmacros.h>
-#endif /* _AIX */
+#endif /* _AIX || __GLIBC__ */
#ifndef major
#include <sys/mkdev.h>
--- a/ls/ls.c
+++ b/ls/ls.c
@@ -119,7 +119,7 @@
#include <termcap.h>
#endif /* USE_TERMCAP */
-#ifdef _AIX
+#if defined (_AIX) || defined (__GLIBC__)
#include <sys/sysmacros.h>
#endif