summaryrefslogtreecommitdiffstats
path: root/Utilities/cmlibarchive
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-07-20 16:51:15 (GMT)
committerBrad King <brad.king@kitware.com>2017-07-20 16:52:54 (GMT)
commitc80d8cb293155ef9be76079c90cb159990ecb43f (patch)
treeee4ff7e05da21714c277fb836a6f7eea3995e160 /Utilities/cmlibarchive
parent6df1bda1c57193b289866389a994ea79a2f5e1d8 (diff)
downloadCMake-c80d8cb293155ef9be76079c90cb159990ecb43f.zip
CMake-c80d8cb293155ef9be76079c90cb159990ecb43f.tar.gz
CMake-c80d8cb293155ef9be76079c90cb159990ecb43f.tar.bz2
libarchive: Fix inclusion of zlib, bzlib, and lzma for build within CMake
Update a new source file imported from libarchive upstream to include the headers for compression libraries using the CMake wrappers.
Diffstat (limited to 'Utilities/cmlibarchive')
-rw-r--r--Utilities/cmlibarchive/libarchive/archive_version_details.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Utilities/cmlibarchive/libarchive/archive_version_details.c b/Utilities/cmlibarchive/libarchive/archive_version_details.c
index 813f0f3..9289bf1 100644
--- a/Utilities/cmlibarchive/libarchive/archive_version_details.c
+++ b/Utilities/cmlibarchive/libarchive/archive_version_details.c
@@ -34,13 +34,13 @@ __FBSDID("$FreeBSD: head/lib/libarchive/archive_util.c 201098 2009-12-28 02:58:1
#include <string.h>
#endif
#ifdef HAVE_ZLIB_H
-#include <zlib.h>
+#include <cm_zlib.h>
#endif
#ifdef HAVE_LZMA_H
-#include <lzma.h>
+#include <cm_lzma.h>
#endif
#ifdef HAVE_BZLIB_H
-#include <bzlib.h>
+#include <cm_bzlib.h>
#endif
#ifdef HAVE_LZ4_H
#include <lz4.h>