diff options
author | Tim Kientzle <kientzle@gmail.com> | 2009-01-21 01:31:26 -0500 |
---|---|---|
committer | Tim Kientzle <kientzle@gmail.com> | 2009-01-21 01:31:26 -0500 |
commit | a265d9ba8c27cc8f1bb6cb2e1f29f8933ef188bc (patch) | |
tree | a3af26f276fb2ac8b45036a9221247fec39dfa9f /cpio | |
parent | faa9066cecaea4100a9b0268c3feaa9ab5dcca5d (diff) | |
download | libarchive-a265d9ba8c27cc8f1bb6cb2e1f29f8933ef188bc.tar.gz |
Fix Solaris 10 and OpenSolaris builds of bsdcpio.
Submitted by: Fabian Groffen
SVN-Revision: 455
Diffstat (limited to 'cpio')
-rw-r--r-- | cpio/cpio.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cpio/cpio.c b/cpio/cpio.c index 6ce2c37d..63422d43 100644 --- a/cpio/cpio.c +++ b/cpio/cpio.c @@ -32,6 +32,9 @@ __FBSDID("$FreeBSD: src/usr.bin/cpio/cpio.c,v 1.15 2008/12/06 07:30:40 kientzle #include <archive.h> #include <archive_entry.h> +#ifdef HAVE_SYS_MKDEV_H +#include <sys/mkdev.h> +#endif #ifdef HAVE_SYS_STAT_H #include <sys/stat.h> #endif |