summaryrefslogtreecommitdiff
path: root/system/heirloom-pax/sysmacros.patch
blob: 3a4feb99626837cfd035f25e803cc7ef391b7fc1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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>