Skip to content

Commit

Permalink
Add include to zlib.h as it uses the structures defined in the zlib.h
Browse files Browse the repository at this point in the history
Up until now, the minizip was including this header file, but minizip-ng
does not and it causing the build to fail.
If the file uses structures defined in the zlib.h it should explicitly
include it.
  • Loading branch information
ljavorsk committed Jan 4, 2024
1 parent 8a28362 commit 525a202
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/util/ZipSerialize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include "DateTime.h"
#include "log.h"

#include <zlib.h>
#include <minizip/unzip.h>
#include <minizip/zip.h>
#ifdef _WIN32
Expand Down

0 comments on commit 525a202

Please sign in to comment.