From e8d39697f12873d3bcc411b86f65b8d9454991c2 Mon Sep 17 00:00:00 2001 From: evilynux Date: Mon, 3 Sep 2007 18:20:24 +0000 Subject: [PATCH] Fixed possible segfault in ROMReader on ia64 and amd64. --- desmume/ChangeLog | 2 ++ desmume/src/ROMReader.h | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/desmume/ChangeLog b/desmume/ChangeLog index 4a07f3cd1..cbbdd927f 100644 --- a/desmume/ChangeLog +++ b/desmume/ChangeLog @@ -9,6 +9,8 @@ - Added option to disable execution upon loading. [Jeff B] - Many more strings are translatable now. [Jeff B] - Default screen color now black (better represents being "off" and easier on eyes at night) [Jeff B] + general: + - Fixed possible segfault in ROMReader on ia64 and amd64. [evilynux] 0.7.2 -> 0.7.3 gtk-glade: diff --git a/desmume/src/ROMReader.h b/desmume/src/ROMReader.h index 0060cee44..a606a5cbf 100644 --- a/desmume/src/ROMReader.h +++ b/desmume/src/ROMReader.h @@ -17,6 +17,11 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef HAVE_LIBZ +#include +#endif +#include + #include "types.h" #define ROMREADER_DEFAULT -1