summaryrefslogtreecommitdiff
path: root/system/heirloom-pax/sysmacros.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/heirloom-pax/sysmacros.patch')
-rw-r--r--system/heirloom-pax/sysmacros.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/system/heirloom-pax/sysmacros.patch b/system/heirloom-pax/sysmacros.patch
new file mode 100644
index 000000000..3a4feb996
--- /dev/null
+++ b/system/heirloom-pax/sysmacros.patch
@@ -0,0 +1,14 @@
+--- heirloom-pax-1.0/cpio/cpio.c
++++ heirloom-pax-1.0/cpio/cpio.c
+@@ -91,9 +91,9 @@
+ #include <sfile.h>
+ #include <atoll.h>
+
+-#ifdef _AIX
++#ifndef major
+ #include <sys/sysmacros.h>
+-#endif /* _AIX */
++#endif /* !major */
+
+ #ifndef major
+ #include <sys/mkdev.h>