[poppler] Branch 'poppler-0.18' - goo/PNGWriter.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Tue Dec 6 14:22:58 PST 2011


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

New commits:
commit 03544e2f602319f0b381f5f357e14cc2cc77d2c1
Author: Albert Astals Cid <aacid at kde.org>
Date:   Tue Dec 6 23:21:15 2011 +0100

    include strings.h as we use memcpy
    
    Fixes bug 43558
    (cherry picked from commit 388d72ac27ae98fe3a1ebd21760f2b0fa0249a9b)

diff --git a/goo/PNGWriter.cc b/goo/PNGWriter.cc
index f88c3a7..1fb8cab 100644
--- a/goo/PNGWriter.cc
+++ b/goo/PNGWriter.cc
@@ -6,7 +6,7 @@
 //
 // Copyright (C) 2009 Warren Toomey <wkt at tuhs.org>
 // Copyright (C) 2009 Shen Liang <shenzhuxi at gmail.com>
-// Copyright (C) 2009 Albert Astals Cid <aacid at kde.org>
+// Copyright (C) 2009, 2011 Albert Astals Cid <aacid at kde.org>
 // Copyright (C) 2009 Stefan Thomas <thomas at eload24.com>
 // Copyright (C) 2010, 2011 Adrian Johnson <ajohnson at redneon.com>
 // Copyright (C) 2011 Thomas Klausner <wiz at danbala.tuwien.ac.at>
@@ -19,6 +19,7 @@
 
 #include <zlib.h>
 #include <stdlib.h>
+#include <string.h>
 
 #include "poppler/Error.h"
 #include "goo/gmem.h"


More information about the poppler mailing list