From 87f1f363dfaf181854b81d84518ea57334edcc8f Mon Sep 17 00:00:00 2001 From: Brad King <brad.king@kitware.com> Date: Wed, 21 Oct 2015 10:37:14 -0400 Subject: cmArchiveWrite: Preemptively adapt to future libarchive 4.0 changes --- Source/cmArchiveWrite.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/cmArchiveWrite.cxx b/Source/cmArchiveWrite.cxx index 7946950..e62a2ed 100644 --- a/Source/cmArchiveWrite.cxx +++ b/Source/cmArchiveWrite.cxx @@ -18,6 +18,10 @@ #include <cm_libarchive.h> #include "cm_get_date.h" +#ifndef __LA_SSIZE_T +# define __LA_SSIZE_T la_ssize_t +#endif + //---------------------------------------------------------------------------- static std::string cm_archive_error_string(struct archive* a) { -- cgit v0.12