Skip to content

Commit 8892783

Browse files
committed
add missing condition
1 parent 5839503 commit 8892783

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/fileinfo/libmagic/compress.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ typedef void (*sig_t)(int);
6060
#if defined(HAVE_SYS_TIME_H)
6161
#include <sys/time.h>
6262
#endif
63-
#if defined(HAVE_ZLIB_H)
63+
#if defined(HAVE_ZLIB_H) && defined(PHP_FILEINFO_UNCOMPRESS)
6464
#define BUILTIN_DECOMPRESS
6565
#include <zlib.h>
6666
#endif

0 commit comments

Comments
 (0)