summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2007-04-13 16:07:25 +0000
committerkientzle <kientzle@FreeBSD.org>2007-04-13 16:07:25 +0000
commit9d7fe0d4726b159513c36ced3e0975533ec4845a (patch)
tree05f11a529c0bffb6fe264102353c4c70f0f32393
parent761c2b3c1d82f4d43a29b3d212a0e33c18aa1d9a (diff)
downloadFreeBSD-src-9d7fe0d4726b159513c36ced3e0975533ec4845a.zip
FreeBSD-src-9d7fe0d4726b159513c36ced3e0975533ec4845a.tar.gz
Portability.
-rw-r--r--lib/libarchive/archive_read_support_format_cpio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libarchive/archive_read_support_format_cpio.c b/lib/libarchive/archive_read_support_format_cpio.c
index 3a0f334..0fe4051 100644
--- a/lib/libarchive/archive_read_support_format_cpio.c
+++ b/lib/libarchive/archive_read_support_format_cpio.c
@@ -31,6 +31,8 @@ __FBSDID("$FreeBSD$");
#endif
#ifdef MAJOR_IN_MKDEV
#include <sys/mkdev.h>
+#elif defined(MAJOR_IN_SYSMACROS)
+#include <sys/sysmacros.h>
#endif
#ifdef HAVE_ERRNO_H
OpenPOWER on IntegriCloud