Fix libarchive linker errors on SunOS for mkdev/major/minor

This commit is contained in:
Zach Mullen 2009-11-05 14:06:45 -05:00
parent 5a6cb44e96
commit 557a42a9dd
1 changed files with 4 additions and 0 deletions

View File

@ -29,6 +29,10 @@ __FBSDID("$FreeBSD: src/lib/libarchive/archive_entry.c,v 1.55 2008/12/23 05:01:4
#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif
#if defined(__sun)
#include <sys/types.h>
#include <sys/mkdev.h>
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif