From 055a01deb76a681dda718ec58f972dd20b82a8c3 Mon Sep 17 00:00:00 2001 From: Andreas Oberritter Date: Tue, 25 Mar 2008 16:01:47 +0000 Subject: [PATCH] include png.h before any other headers, because it complains if setjmp.h was included by another header (i.e. Python.h) --- lib/gdi/picload.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/gdi/picload.cpp b/lib/gdi/picload.cpp index f8949cff..e8a0e8c0 100644 --- a/lib/gdi/picload.cpp +++ b/lib/gdi/picload.cpp @@ -1,9 +1,8 @@ +#include // must be included before Python.h because of setjmp #include #include "picexif.h" #include -#include - #include #include #include @@ -14,7 +13,6 @@ extern "C" { #include //#include "transupp.h" } -#include unsigned char *pic_buffer=NULL; -- 2.30.2