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

This commit is contained in:
Brad King 2011-12-20 13:14:29 -05:00
parent 25a5e7cbc1
commit ffa6faa40d
12 changed files with 12 additions and 12 deletions

View File

@ -41,7 +41,7 @@ __FBSDID("$FreeBSD$");
#include <unistd.h> #include <unistd.h>
#endif #endif
#ifdef HAVE_ZLIB_H #ifdef HAVE_ZLIB_H
#include <zlib.h> #include <cm_zlib.h>
#endif #endif
#include "archive.h" #include "archive.h"

View File

@ -39,7 +39,7 @@ __FBSDID("$FreeBSD$");
#include <lzma.h> #include <lzma.h>
#endif #endif
#ifdef HAVE_ZLIB_H #ifdef HAVE_ZLIB_H
#include <zlib.h> #include <cm_zlib.h>
#endif #endif
#include "archive.h" #include "archive.h"

View File

@ -38,7 +38,7 @@
#include <string.h> #include <string.h>
#endif #endif
#ifdef HAVE_ZLIB_H #ifdef HAVE_ZLIB_H
#include <zlib.h> #include <cm_zlib.h>
#endif #endif
#include "archive.h" #include "archive.h"

View File

@ -41,7 +41,7 @@ __FBSDID("$FreeBSD: head/lib/libarchive/archive_read_support_format_iso9660.c 20
#endif #endif
#include <time.h> #include <time.h>
#ifdef HAVE_ZLIB_H #ifdef HAVE_ZLIB_H
#include <zlib.h> #include <cm_zlib.h>
#endif #endif
#include "archive.h" #include "archive.h"

View File

@ -32,7 +32,7 @@
#include <time.h> #include <time.h>
#include <limits.h> #include <limits.h>
#ifdef HAVE_ZLIB_H #ifdef HAVE_ZLIB_H
#include <zlib.h> /* crc32 */ #include <cm_zlib.h> /* crc32 */
#endif #endif
#include "archive.h" #include "archive.h"

View File

@ -47,7 +47,7 @@ __FBSDID("$FreeBSD$");
#include <lzmadec.h> #include <lzmadec.h>
#endif #endif
#ifdef HAVE_ZLIB_H #ifdef HAVE_ZLIB_H
#include <zlib.h> #include <cm_zlib.h>
#endif #endif
#include "archive.h" #include "archive.h"

View File

@ -34,7 +34,7 @@ __FBSDID("$FreeBSD: head/lib/libarchive/archive_read_support_format_zip.c 201102
#include <stdlib.h> #include <stdlib.h>
#endif #endif
#ifdef HAVE_ZLIB_H #ifdef HAVE_ZLIB_H
#include <zlib.h> #include <cm_zlib.h>
#endif #endif
#include "archive.h" #include "archive.h"

View File

@ -38,7 +38,7 @@ __FBSDID("$FreeBSD: head/lib/libarchive/archive_write_set_compression_gzip.c 201
#endif #endif
#include <time.h> #include <time.h>
#ifdef HAVE_ZLIB_H #ifdef HAVE_ZLIB_H
#include <zlib.h> #include <cm_zlib.h>
#endif #endif
#include "archive.h" #include "archive.h"

View File

@ -37,7 +37,7 @@ __FBSDID("$FreeBSD$");
#include <lzma.h> #include <lzma.h>
#endif #endif
#ifdef HAVE_ZLIB_H #ifdef HAVE_ZLIB_H
#include <zlib.h> #include <cm_zlib.h>
#endif #endif
#include "archive.h" #include "archive.h"

View File

@ -47,7 +47,7 @@
#include <unistd.h> #include <unistd.h>
#endif #endif
#ifdef HAVE_ZLIB_H #ifdef HAVE_ZLIB_H
#include <zlib.h> #include <cm_zlib.h>
#endif #endif
#include "archive.h" #include "archive.h"

View File

@ -43,7 +43,7 @@ __FBSDID("$FreeBSD$");
#include <lzma.h> #include <lzma.h>
#endif #endif
#ifdef HAVE_ZLIB_H #ifdef HAVE_ZLIB_H
#include <zlib.h> #include <cm_zlib.h>
#endif #endif
#include "archive.h" #include "archive.h"

View File

@ -63,7 +63,7 @@ __FBSDID("$FreeBSD: head/lib/libarchive/archive_write_set_format_zip.c 201168 20
#include <string.h> #include <string.h>
#endif #endif
#ifdef HAVE_ZLIB_H #ifdef HAVE_ZLIB_H
#include <zlib.h> #include <cm_zlib.h>
#endif #endif
#include "archive.h" #include "archive.h"