diff options
author | Brad King <brad.king@kitware.com> | 2009-11-05 21:29:21 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-11-05 21:29:21 (GMT) |
commit | d7ef7e9416e4fd758c4777d63aeb0ee1a40d87d2 (patch) | |
tree | c8a1fd9927b9f04dd2410c0ff6f76a79eb25e4ac /Utilities/cmlibarchive/libarchive/archive_entry.c | |
parent | fe598550aa0a75e0bb379c9527a538229e703ef0 (diff) | |
download | CMake-d7ef7e9416e4fd758c4777d63aeb0ee1a40d87d2.zip CMake-d7ef7e9416e4fd758c4777d63aeb0ee1a40d87d2.tar.gz CMake-d7ef7e9416e4fd758c4777d63aeb0ee1a40d87d2.tar.bz2 |
libarchive: Add try-compile for 'major'
The commit "Fix libarchive linker errors on SunOS for mkdev/major/minor"
hard-coded #include lines for getting mkdev/major/minor on the Sun.
Instead we add missing try-compile tests to make sure the proper headers
get included through the standard mechanism.
Diffstat (limited to 'Utilities/cmlibarchive/libarchive/archive_entry.c')
-rw-r--r-- | Utilities/cmlibarchive/libarchive/archive_entry.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Utilities/cmlibarchive/libarchive/archive_entry.c b/Utilities/cmlibarchive/libarchive/archive_entry.c index ce45565..d75dde5 100644 --- a/Utilities/cmlibarchive/libarchive/archive_entry.c +++ b/Utilities/cmlibarchive/libarchive/archive_entry.c @@ -29,10 +29,6 @@ __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) || defined(_AIX) -#include <sys/types.h> -#include <sys/mkdev.h> -#endif #ifdef HAVE_SYS_TYPES_H #include <sys/types.h> #endif |