cmd: zip: fix implicit declaration warning
authorMichael Walle <michael@walle.cc>
Fri, 22 May 2020 12:07:37 +0000 (14:07 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 25 May 2020 15:54:53 +0000 (11:54 -0400)
commit2843444a6eaf1bf287aa00ad46ccfac54fac26b0
tree98bbfc04da6954c0e4ab03acce84ec99173b3939
parenteff5a54758080f842783c4e5334e0675ea3cd317
cmd: zip: fix implicit declaration warning

Fix the following warning:

cmd/zip.c: In function ‘do_zip’:
cmd/zip.c:30:6: warning: implicit declaration of function ‘gzip’; did you mean ‘do_zip’? [-Wimplicit-function-declaration]
  if (gzip((void *) dst, &dst_len, (void *) src, src_len) != 0)
      ^~~~
      do_zip

Include gzip.h header which declares the gzip() function.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/zip.c