From 38a357021ccf3a6fa8c095ef5d9269a4dc64cf5b Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Wed, 23 Mar 2011 09:50:13 +0000 Subject: [PATCH] Include correct headers Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3688 --- src/gui/midi.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/gui/midi.cpp b/src/gui/midi.cpp index 4df68063..8bc75a57 100644 --- a/src/gui/midi.cpp +++ b/src/gui/midi.cpp @@ -19,7 +19,9 @@ #include #include #include -#include +#include +#include + #include "SDL.h" #include "dosbox.h" @@ -29,6 +31,7 @@ #include "mapper.h" #include "pic.h" #include "hardware.h" +#include "timer.h" #define SYSEX_SIZE 1024 #define RAWBUF 1024 @@ -200,7 +203,7 @@ public: fullconf.erase(fullconf.find("delaysysex")); LOG_MSG("MIDI:Using delayed SysEx processing"); } - remove(fullconf.begin(), fullconf.end(), ' '); + std::remove(fullconf.begin(), fullconf.end(), ' '); const char * conf = fullconf.c_str(); midi.status=0x00; midi.cmd_pos=0;