changeset 2990:be86c72a06c9

add missing includes to get it build with gcc 4.3 (patch imported from Debian)
author Martin Michlmayr <tbm@cyrius.com>
date Fri, 06 Feb 2009 14:10:52 +0200
parents 323138ecc070
children 2cdf6400594c
files src/adplug/core/rix.cxx src/modplug/archive/arch_raw.cxx
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/adplug/core/rix.cxx	Wed Jan 07 20:25:14 2009 -0600
+++ b/src/adplug/core/rix.cxx	Fri Feb 06 14:10:52 2009 +0200
@@ -22,6 +22,7 @@
 
 #include "rix.h"
 #include "debug.h"
+#include <cstdlib>
 
 const unsigned char
 CrixPlayer::adflag[] =
--- a/src/modplug/archive/arch_raw.cxx	Wed Jan 07 20:25:14 2009 -0600
+++ b/src/modplug/archive/arch_raw.cxx	Fri Feb 06 14:10:52 2009 +0200
@@ -11,6 +11,7 @@
 //mmap()
 #include <unistd.h>
 #include <sys/mman.h>
+#include <cstdlib>
 
 #include "arch_raw.h"