diff mbox

[5/6,dvb-apps] alevt: fix FTBFS with libpng15

Message ID 1399168281-20626-6-git-send-email-jmccrohan@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Jonathan McCrohan May 4, 2014, 1:51 a.m. UTC
libpng15 no longer includes zlib.h; we must include it ourselves

Bug-Debian: http://bugs.debian.org/742566

Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>
---
 util/alevt/exp-gfx.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/util/alevt/exp-gfx.c b/util/alevt/exp-gfx.c
index e68167b..0f7ad0c 100644
--- a/util/alevt/exp-gfx.c
+++ b/util/alevt/exp-gfx.c
@@ -138,6 +138,7 @@  static int ppm_output(struct export *e, char *name, struct fmt_page *pg)
 #ifdef WITH_PNG
 
 #include <png.h>
+#include <zlib.h>
 static int png_open(struct export *e);
 static int png_option(struct export *e, int opt, char *arg);
 static int png_output(struct export *e, char *name, struct fmt_page *pg);