use c linkage for zlib

This commit is contained in:
Thomas Fussell 2016-10-31 20:55:05 -04:00
parent 862e6778e5
commit d8169b82d1

View File

@ -42,7 +42,9 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
#include <cstring>
#include <string>
extern C {
#include <zlib.h>
}
#include <detail/zip.hpp>