aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/dc/portdefs.h
diff options
context:
space:
mode:
authorAlyssa Milburn2011-11-17 12:44:05 +0100
committerAlyssa Milburn2011-11-17 12:46:44 +0100
commit5647637ea2d239681a9dc0facc4071e33235fe4f (patch)
treec07cd3e97a245a76767b5929f5a54dd4f2c48896 /backends/platform/dc/portdefs.h
parent51f51a968bedd35528a7756dfcdbb6875ddf2963 (diff)
downloadscummvm-rg350-5647637ea2d239681a9dc0facc4071e33235fe4f.tar.gz
scummvm-rg350-5647637ea2d239681a9dc0facc4071e33235fe4f.tar.bz2
scummvm-rg350-5647637ea2d239681a9dc0facc4071e33235fe4f.zip
COMMON: Move <new> include into scummsys.h.
The header contains forbidden symbols on some platforms, and the simplest solution seems to be to include it here. This also includes it from all the portdefs.h files, except the Symbian one. Probably the FIXME and the #if can be removed once it's known to work.
Diffstat (limited to 'backends/platform/dc/portdefs.h')
-rw-r--r--backends/platform/dc/portdefs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/backends/platform/dc/portdefs.h b/backends/platform/dc/portdefs.h
index ca2b5208a3..1f5c8f566a 100644
--- a/backends/platform/dc/portdefs.h
+++ b/backends/platform/dc/portdefs.h
@@ -29,6 +29,7 @@
#include <assert.h>
#include <ctype.h>
#include <math.h>
+#include <new>
#ifndef RONIN_TIMER_ACCESS
#define Timer ronin_Timer
#endif