1 fix building with libpng-1.5
8 /* cleanup after libpng errors (error handler does a longjmp) */
9 - if (setjmp (png_ptr->jmpbuf))
10 + if (setjmp (png_jmpbuf (png_ptr)))
12 png_destroy_write_struct (&png_ptr, (png_info **)NULL);
18 - longjmp (png_ptr->jmpbuf, 1);
19 + png_longjmp (png_ptr, 1);
27 - longjmp (png_ptr->jmpbuf, 1);
28 + png_longjmp (png_ptr, 1);