summaryrefslogtreecommitdiff
path: root/kexec/kexec.c
diff options
context:
space:
mode:
Diffstat (limited to 'kexec/kexec.c')
-rw-r--r--kexec/kexec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kexec/kexec.c b/kexec/kexec.c
index abc1cce..4094dd7 100644
--- a/kexec/kexec.c
+++ b/kexec/kexec.c
@@ -32,7 +32,7 @@
#include "config.h"
-#ifdef HAVE_ZLIB_H
+#ifdef HAVE_LIBZ
#include <zlib.h>
#endif
#include <sha256.h>
@@ -446,7 +446,7 @@ char *slurp_file_len(const char *filename, off_t size)
return buf;
}
-#if HAVE_ZLIB_H
+#if HAVE_LIBZ
char *slurp_decompress_file(const char *filename, off_t *r_size)
{
gzFile fp;