 ===================================================================
 --- kexec-tools-2.0.1.orig/kexec/kexec.c	2008-02-24 14:15:46.950825917 +0100
 +++ kexec-tools-2.0.1/kexec/kexec.c	2009-09-26 01:58:53.545624148 +0200
-@@ -38,9 +38,8 @@
+@@ -38,9 +38,9 @@
 
  #include "config.h"
 


Index: kexec-tools-2.0.1/kexec/kexec.h
===================================================================
--- kexec-tools-2.0.1.orig/kexec/kexec.h.old	2008-05-16 13:28:19.000000000 +0200
+++ kexec-tools-2.0.1/kexec/kexec.h	2009-09-16 17:32:15.000000000 +0200
@@ -197,7 +197,7 @@
 extern char *slurp_file(const char *filename, off_t *r_size);
 extern char *slurp_file_len(const char *filename, off_t size);
 extern char *slurp_decompress_file(const char *filename, off_t *r_size);

-#endif
+#include "zlib.h"
+
+
 #include <sha256.h>
 #include "kexec.h"
 #include "kexec-syscall.h"
@@ -555,6 +555,6 @@
 }

-#if HAVE_LIBZ
