VIDEO: Include png.h before sim_defs.h.
Older versions of the PNG library header file want to include setjmp.h and complain if it's already included.
This commit is contained in:
parent
783ee136d7
commit
793149d1bd
1 changed files with 3 additions and 1 deletions
|
@ -27,6 +27,9 @@
|
|||
11-Jun-2013 MB First version
|
||||
*/
|
||||
|
||||
#if defined(HAVE_LIBPNG) && defined(USE_SIM_VIDEO) && defined(HAVE_LIBSDL)
|
||||
#include <png.h>
|
||||
#endif
|
||||
#include "sim_video.h"
|
||||
#include "scp.h"
|
||||
|
||||
|
@ -148,7 +151,6 @@ static char tmp_key_name[40];
|
|||
* http://www.libpng.org/pub/png/src/libpng-LICENSE.txt
|
||||
*/
|
||||
#include <SDL.h>
|
||||
#include <png.h>
|
||||
#include <zlib.h>
|
||||
|
||||
#define SUCCESS 0
|
||||
|
|
Loading…
Add table
Reference in a new issue