zlib is not exposed to libziparchive headers

By forward-declaring zstream, we don't need to re-export zlib headers.

Bug: 37342627
Test: build
Test: BOARD_VNDK_VERSION=current m -j dumpstate (or any other module
using libziparchive)

Change-Id: Ia69e5d459c79878d491cfe4ca21a7cc8fed4a5d8
This commit is contained in:
Jiyong Park 2017-07-03 19:26:39 +09:00 committed by Colin Cross
parent 7b44858b91
commit e7cf680ccc
1 changed files with 3 additions and 1 deletions

View File

@ -17,7 +17,6 @@
#ifndef LIBZIPARCHIVE_ZIPWRITER_H_
#define LIBZIPARCHIVE_ZIPWRITER_H_
#include <zlib.h>
#include <cstdio>
#include <ctime>
@ -28,6 +27,9 @@
#include "android-base/macros.h"
#include "utils/Compat.h"
struct z_stream_s;
typedef struct z_stream_s z_stream;
/**
* Writes a Zip file via a stateful interface.
*