Fix compilation with gcc >= 4.8

taken from fedora
pull/398/head
Hleb Valoshka 2019-09-03 23:28:33 +03:00
parent cd53622a44
commit 50cf2e9473
2 changed files with 3 additions and 0 deletions

View File

@ -33,6 +33,8 @@
#ifdef JPEG_SUPPORT
#include <cstring> /* for memcpy */
#ifndef PNG_SUPPORT
#include "setjmp.h"
#endif // PNG_SUPPORT

View File

@ -28,6 +28,7 @@
#include <fstream>
#include <cstdlib>
#include <cstdio>
#include <cstring> /* for memcpy */
#include <cassert>
#ifndef _WIN32