libarchive: Include cm_zlib.h to get zlib used by CMake

Follow up change from commit ffa6faa4 (libarchive: Include cm_zlib.h to
get zlib used by CMake, 2011-12-20) for new includes of zlib.h in
updated libarchive.
This commit is contained in:
Brad King 2013-07-26 16:22:48 -04:00
parent 8dc0a9f898
commit 677384017a
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ __FBSDID("$FreeBSD$");
#include <lzo/lzo1x.h>
#endif
#ifdef HAVE_ZLIB_H
#include <zlib.h> /* for crc32 and adler32 */
#include <cm_zlib.h> /* for crc32 and adler32 */
#endif
#include "archive.h"

View File

@ -119,7 +119,7 @@ __FBSDID("$FreeBSD$");
#endif
#ifdef HAVE_ZLIB_H
#include <zlib.h>
#include <cm_zlib.h>
#endif
/* TODO: Support Mac OS 'quarantine' feature. This is really just a