]> granicus.if.org Git - graphviz/commitdiff
setjmp.h must come after png.h
authorellson <devnull@localhost>
Sat, 17 Nov 2007 00:31:11 +0000 (00:31 +0000)
committerellson <devnull@localhost>
Sat, 17 Nov 2007 00:31:11 +0000 (00:31 +0000)
lib/gd/gd_png.c

index dd19fe7c7198cf3241f6fa4c2aa7dfac95d1542a..7395c9e05a9636c3b906f4f5428e06a3f6cc65f2 100644 (file)
@@ -7,7 +7,6 @@
 #include <math.h>
 #include <string.h>
 #include <stdlib.h>
-#include <setjmp.h>
 #include "gd.h"
 
 /* JCE: Arrange HAVE_LIBPNG so that it can be set in gd.h */
@@ -15,6 +14,7 @@
 
 #include "gdhelpers.h"
 #include "png.h"               /* includes zlib.h and setjmp.h */
+#include <setjmp.h>  /* or maybe not */
 
 #define TRUE 1
 #define FALSE 0