[poppler] goo/PNGWriter.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Mon Jan 24 11:05:05 PST 2011


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

New commits:
commit 19dc283c3af597deab297341a37495c06988948b
Author: Thomas Klausner <wiz at danbala.tuwien.ac.at>
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 <aacid at kde.org>
 // Copyright (C) 2009 Stefan Thomas <thomas at eload24.com>
 // Copyright (C) 2010 Adrian Johnson <ajohnson at redneon.com>
+// Copyright (C) 2011 Thomas Klausner <wiz at danbala.tuwien.ac.at>
 //
 //========================================================================
 
@@ -16,6 +17,8 @@
 
 #ifdef ENABLE_LIBPNG
 
+#include <zlib.h>
+
 #include "poppler/Error.h"
 
 PNGWriter::PNGWriter()


More information about the poppler mailing list