dwebp: include setjmp.h w/WEBP_HAVE_PNG

setjmp() is used in WritePNG().

(cherry picked from commit 775dfad297)

Change-Id: Iadd836272fc7d368d635c891507ce2a08c4d3dec
This commit is contained in:
James Zern 2015-01-16 15:38:40 -08:00
parent 90f1ec58a9
commit 0a4391a196

View File

@ -22,6 +22,7 @@
#ifdef WEBP_HAVE_PNG #ifdef WEBP_HAVE_PNG
#include <png.h> #include <png.h>
#include <setjmp.h> // note: this must be included *after* png.h
#endif #endif
#ifdef HAVE_WINCODEC_H #ifdef HAVE_WINCODEC_H