Skip to content

Commit 7a81c63

Browse files
committed
pkg_editor: fix build when zlib is not available
This amends #248
1 parent b3e1d9a commit 7a81c63

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/pkg_editor/src/pkg_editor.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@
3939
#endif
4040

4141
#include "pkg_editor/pkg_editor.h"
42+
#if USE_ZLIB
4243
#include "zlib.h"
44+
#endif
4345

4446
typedef struct acl_pkg_file {
4547
const char *fname;

0 commit comments

Comments
 (0)