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

New commits:
commit 03544e2f602319f0b381f5f357e14cc2cc77d2c1
Author: Albert Astals Cid <[email protected]>
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 <[email protected]>
 // Copyright (C) 2009 Shen Liang <[email protected]>
-// Copyright (C) 2009 Albert Astals Cid <[email protected]>
+// Copyright (C) 2009, 2011 Albert Astals Cid <[email protected]>
 // Copyright (C) 2009 Stefan Thomas <[email protected]>
 // Copyright (C) 2010, 2011 Adrian Johnson <[email protected]>
 // Copyright (C) 2011 Thomas Klausner <[email protected]>
@@ -19,6 +19,7 @@
 
 #include <zlib.h>
 #include <stdlib.h>
+#include <string.h>
 
 #include "poppler/Error.h"
 #include "goo/gmem.h"
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to