Merge branch 'mz/maint-rename-unmerged'
[gitweb.git] / builtin / index-pack.c
index 5a67c8181e5273ab0e79b8cb704dadc87cde1a37..e40451ffb4ecd31107bfe51817cdce18e1dfe859 100644 (file)
@@ -1,4 +1,4 @@
-#include "cache.h"
+#include "builtin.h"
 #include "delta.h"
 #include "pack.h"
 #include "csum-file.h"
@@ -294,7 +294,7 @@ static void *unpack_raw_entry(struct object_entry *obj, union delta_base *delta_
        void *data;
 
        obj->idx.offset = consumed_bytes;
-       input_crc32 = crc32(0, Z_NULL, 0);
+       input_crc32 = crc32(0, NULL, 0);
 
        p = fill(1);
        c = *p;