filebundle: try to fix build error for older zlib.. #3
This commit is contained in:
parent
a7d26442b1
commit
1a9319571b
1 changed files with 4 additions and 1 deletions
|
@ -24,8 +24,11 @@
|
|||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#if ENABLE_ZLIB
|
||||
#define z_const const
|
||||
#define ZLIB_CONST 1
|
||||
#include <zlib.h>
|
||||
#ifndef z_const
|
||||
#define z_const
|
||||
#endif
|
||||
#endif
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
|
Loading…
Add table
Reference in a new issue