diff options
author | Zach Mullen <zach.mullen@kitware.com> | 2009-11-05 19:06:45 (GMT) |
---|---|---|
committer | Zach Mullen <zach.mullen@kitware.com> | 2009-11-05 19:06:45 (GMT) |
commit | 557a42a9dd6b15dbd52d9ac8f3ec85db9601b48f (patch) | |
tree | c3999664e5df806666bc5dbc2e9c06694a4eddb4 /Utilities/cmlibarchive | |
parent | 5a6cb44e96480cb6de4d3790608f1afc952d6b18 (diff) | |
download | CMake-557a42a9dd6b15dbd52d9ac8f3ec85db9601b48f.zip CMake-557a42a9dd6b15dbd52d9ac8f3ec85db9601b48f.tar.gz CMake-557a42a9dd6b15dbd52d9ac8f3ec85db9601b48f.tar.bz2 |
Fix libarchive linker errors on SunOS for mkdev/major/minor
Diffstat (limited to 'Utilities/cmlibarchive')
-rw-r--r-- | Utilities/cmlibarchive/libarchive/archive_entry.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Utilities/cmlibarchive/libarchive/archive_entry.c b/Utilities/cmlibarchive/libarchive/archive_entry.c index d75dde5..9d27f21 100644 --- a/Utilities/cmlibarchive/libarchive/archive_entry.c +++ b/Utilities/cmlibarchive/libarchive/archive_entry.c @@ -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 |