File dosbox-0.72-gcc4.3.diff of Package dosbox

Index: dosbox-0.72/src/hardware/gameblaster.cpp
===================================================================
--- dosbox-0.72.orig/src/hardware/gameblaster.cpp
+++ dosbox-0.72/src/hardware/gameblaster.cpp
@@ -16,6 +16,7 @@
  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
+#include <cstring>
 #include <math.h>
 #include "dosbox.h"
 #include "inout.h"
Index: dosbox-0.72/src/hardware/tandy_sound.cpp
===================================================================
--- dosbox-0.72.orig/src/hardware/tandy_sound.cpp
+++ dosbox-0.72/src/hardware/tandy_sound.cpp
@@ -20,6 +20,7 @@
 	Based of sn76496.c of the M.A.M.E. project
 */
 
+#include <cstring>
 #include <math.h>
 #include "dosbox.h"
 #include "inout.h"
Index: dosbox-0.72/src/shell/shell_cmds.cpp
===================================================================
--- dosbox-0.72.orig/src/shell/shell_cmds.cpp
+++ dosbox-0.72/src/shell/shell_cmds.cpp
@@ -18,8 +18,9 @@
 
 /* $Id: shell_cmds.cpp,v 1.78 2007/08/17 17:58:46 qbix79 Exp $ */
 
-#include <string.h>
-#include <ctype.h>
+#include <cstring>
+#include <cctype>
+#include <cstdlib>
 #include <vector>
 #include <string>
 #include "shell.h"
openSUSE Build Service is sponsored by