goo/PNGWriter.cc |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 19dc283c3af597deab297341a37495c06988948b
Author: Thomas Klausner <[email protected]>
Date:   Mon Jan 24 19:05:08 2011 +0000

    Include zlib header since we use things defined there

diff --git a/goo/PNGWriter.cc b/goo/PNGWriter.cc
index aebab9e..bbe90f5 100644
--- a/goo/PNGWriter.cc
+++ b/goo/PNGWriter.cc
@@ -9,6 +9,7 @@
 // Copyright (C) 2009 Albert Astals Cid <[email protected]>
 // Copyright (C) 2009 Stefan Thomas <[email protected]>
 // Copyright (C) 2010 Adrian Johnson <[email protected]>
+// Copyright (C) 2011 Thomas Klausner <[email protected]>
 //
 //========================================================================
 
@@ -16,6 +17,8 @@
 
 #ifdef ENABLE_LIBPNG
 
+#include <zlib.h>
+
 #include "poppler/Error.h"
 
 PNGWriter::PNGWriter()
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to