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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



libpng15 no longer includes zlib.h; we must include it ourselves

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

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

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);
-- 
1.9.2

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux