|
|
8252f2e |
diff -up bzflag-2.0.10/include/common.h.gcc-4.3 bzflag-2.0.10/include/common.h
|
|
|
8252f2e |
--- bzflag-2.0.10/include/common.h.gcc-4.3 2007-11-15 23:11:33.000000000 +0100
|
|
|
e990eaf |
+++ bzflag-2.0.10/include/common.h 2008-02-22 17:51:08.000000000 +0100
|
|
|
8252f2e |
@@ -33,9 +33,12 @@
|
|
|
8252f2e |
|
|
|
8252f2e |
#include <stdio.h>
|
|
|
8252f2e |
#include <stdlib.h> /* needed for bzfrand */
|
|
|
8252f2e |
-#include <math.h>
|
|
|
8252f2e |
#ifdef __cplusplus
|
|
|
8252f2e |
# include <cmath>
|
|
|
8252f2e |
+# include <cstring>
|
|
|
8252f2e |
+#else
|
|
|
8252f2e |
+# include <math.h>
|
|
|
8252f2e |
+# include <string.h>
|
|
|
8252f2e |
#endif
|
|
|
8252f2e |
|
|
|
8252f2e |
|
|
|
e990eaf |
diff -up bzflag-2.0.10/plugins/logDetail/logDetail.cpp.gcc-4.3 bzflag-2.0.10/plugins/logDetail/logDetail.cpp
|
|
|
e990eaf |
--- bzflag-2.0.10/plugins/logDetail/logDetail.cpp.gcc-4.3 2007-11-15 23:11:30.000000000 +0100
|
|
|
e990eaf |
+++ bzflag-2.0.10/plugins/logDetail/logDetail.cpp 2008-02-22 18:11:32.000000000 +0100
|
|
|
e990eaf |
@@ -13,6 +13,7 @@
|
|
|
e990eaf |
// logDetail.cpp : Plugin module for logging server events to stdout
|
|
|
e990eaf |
//
|
|
|
e990eaf |
|
|
|
e990eaf |
+#include <cstring>
|
|
|
e990eaf |
#include <iostream>
|
|
|
e990eaf |
#include <sstream>
|
|
|
e990eaf |
#include "bzfsAPI.h"
|
|
|
e990eaf |
diff -up bzflag-2.0.10/plugins/rabidRabbit/rabidRabbit.cpp.gcc-4.3 bzflag-2.0.10/plugins/rabidRabbit/rabidRabbit.cpp
|
|
|
e990eaf |
--- bzflag-2.0.10/plugins/rabidRabbit/rabidRabbit.cpp.gcc-4.3 2007-11-15 23:11:31.000000000 +0100
|
|
|
e990eaf |
+++ bzflag-2.0.10/plugins/rabidRabbit/rabidRabbit.cpp 2008-02-22 20:55:32.000000000 +0100
|
|
|
e990eaf |
@@ -4,7 +4,8 @@
|
|
|
e990eaf |
#include <string>
|
|
|
e990eaf |
#include <vector>
|
|
|
e990eaf |
#include <map>
|
|
|
e990eaf |
-#include <math.h>
|
|
|
e990eaf |
+#include <cstdlib>
|
|
|
e990eaf |
+#include <cmath>
|
|
|
e990eaf |
|
|
|
e990eaf |
BZ_GET_PLUGIN_VERSION
|
|
|
e990eaf |
|
|
|
e990eaf |
diff -up bzflag-2.0.10/plugins/teamflagreset/teamflagreset.cpp.gcc-4.3 bzflag-2.0.10/plugins/teamflagreset/teamflagreset.cpp
|
|
|
e990eaf |
--- bzflag-2.0.10/plugins/teamflagreset/teamflagreset.cpp.gcc-4.3 2007-11-15 23:11:30.000000000 +0100
|
|
|
e990eaf |
+++ bzflag-2.0.10/plugins/teamflagreset/teamflagreset.cpp 2008-02-22 20:57:02.000000000 +0100
|
|
|
e990eaf |
@@ -1,6 +1,7 @@
|
|
|
e990eaf |
// teamflagreset.cpp : Defines the entry point for the DLL application.
|
|
|
e990eaf |
|
|
|
e990eaf |
#include "bzfsAPI.h"
|
|
|
e990eaf |
+#include <cstring>
|
|
|
e990eaf |
|
|
|
e990eaf |
BZ_GET_PLUGIN_VERSION
|
|
|
e990eaf |
|
|
|
e990eaf |
diff -up bzflag-2.0.10/plugins/HoldTheFlag/HoldTheFlag.cpp.gcc-4.3 bzflag-2.0.10/plugins/HoldTheFlag/HoldTheFlag.cpp
|
|
|
e990eaf |
--- bzflag-2.0.10/plugins/HoldTheFlag/HoldTheFlag.cpp.gcc-4.3 2007-11-15 23:11:31.000000000 +0100
|
|
|
e990eaf |
+++ bzflag-2.0.10/plugins/HoldTheFlag/HoldTheFlag.cpp 2008-02-22 17:51:08.000000000 +0100
|
|
|
e990eaf |
@@ -5,6 +5,8 @@
|
|
|
e990eaf |
|
|
|
e990eaf |
#include "bzfsAPI.h"
|
|
|
e990eaf |
#include <map>
|
|
|
e990eaf |
+#include <cstdlib>
|
|
|
e990eaf |
+#include <cstring>
|
|
|
e990eaf |
#include <stdarg.h>
|
|
|
e990eaf |
|
|
|
e990eaf |
BZ_GET_PLUGIN_VERSION
|
|
|
e990eaf |
diff -up bzflag-2.0.10/plugins/keepaway/keepaway.cpp.gcc-4.3 bzflag-2.0.10/plugins/keepaway/keepaway.cpp
|
|
|
e990eaf |
--- bzflag-2.0.10/plugins/keepaway/keepaway.cpp.gcc-4.3 2007-11-15 23:11:30.000000000 +0100
|
|
|
e990eaf |
+++ bzflag-2.0.10/plugins/keepaway/keepaway.cpp 2008-02-22 18:09:18.000000000 +0100
|
|
|
e990eaf |
@@ -1,6 +1,7 @@
|
|
|
e990eaf |
// keepaway.cpp : Defines the entry point for the DLL application.
|
|
|
e990eaf |
|
|
|
e990eaf |
#include "bzfsAPI.h"
|
|
|
e990eaf |
+#include <cstdlib>
|
|
|
e990eaf |
#include <string>
|
|
|
e990eaf |
#include <vector>
|
|
|
e990eaf |
#include <map>
|
|
|
e990eaf |
diff -up bzflag-2.0.10/plugins/rabbitTimer/rabbitTimer.cpp.gcc-4.3 bzflag-2.0.10/plugins/rabbitTimer/rabbitTimer.cpp
|
|
|
e990eaf |
--- bzflag-2.0.10/plugins/rabbitTimer/rabbitTimer.cpp.gcc-4.3 2007-11-15 23:11:30.000000000 +0100
|
|
|
e990eaf |
+++ bzflag-2.0.10/plugins/rabbitTimer/rabbitTimer.cpp 2008-02-22 20:59:59.000000000 +0100
|
|
|
e990eaf |
@@ -2,6 +2,7 @@
|
|
|
e990eaf |
//
|
|
|
e990eaf |
|
|
|
e990eaf |
#include "bzfsAPI.h"
|
|
|
e990eaf |
+#include <cstdlib>
|
|
|
e990eaf |
|
|
|
e990eaf |
BZ_GET_PLUGIN_VERSION
|
|
|
e990eaf |
|
|
|
e990eaf |
diff -up bzflag-2.0.10/plugins/timedctf/timedctf.cpp.gcc-4.3 bzflag-2.0.10/plugins/timedctf/timedctf.cpp
|
|
|
e990eaf |
--- bzflag-2.0.10/plugins/timedctf/timedctf.cpp.gcc-4.3 2008-02-22 20:58:31.000000000 +0100
|
|
|
e990eaf |
+++ bzflag-2.0.10/plugins/timedctf/timedctf.cpp 2008-02-22 20:58:05.000000000 +0100
|
|
|
e990eaf |
@@ -1,6 +1,7 @@
|
|
|
e990eaf |
// timedctf.cpp : Defines the entry point for the DLL application.
|
|
|
e990eaf |
|
|
|
e990eaf |
#include "bzfsAPI.h"
|
|
|
e990eaf |
+#include <cstring>
|
|
|
e990eaf |
|
|
|
e990eaf |
BZ_GET_PLUGIN_VERSION
|
|
|
e990eaf |
|
|
|
e990eaf |
diff -up bzflag-2.0.10/plugins/wwzones/wwzones.cpp.gcc-4.3 bzflag-2.0.10/plugins/wwzones/wwzones.cpp
|
|
|
e990eaf |
--- bzflag-2.0.10/plugins/wwzones/wwzones.cpp.gcc-4.3 2007-11-15 23:11:31.000000000 +0100
|
|
|
e990eaf |
+++ bzflag-2.0.10/plugins/wwzones/wwzones.cpp 2008-02-22 21:01:47.000000000 +0100
|
|
|
e990eaf |
@@ -1,6 +1,7 @@
|
|
|
e990eaf |
// wwzones.cpp : Defines the entry point for the DLL application.
|
|
|
e990eaf |
|
|
|
e990eaf |
#include "bzfsAPI.h"
|
|
|
e990eaf |
+#include <cstdlib>
|
|
|
e990eaf |
#include <string>
|
|
|
e990eaf |
#include <vector>
|
|
|
e990eaf |
#include <map>
|
|
|
e990eaf |
diff -up bzflag-2.0.10/plugins/airspawn/airspawn.cpp.gcc-4.3 bzflag-2.0.10/plugins/airspawn/airspawn.cpp
|
|
|
e990eaf |
--- bzflag-2.0.10/plugins/airspawn/airspawn.cpp.gcc-4.3 2007-11-15 23:11:31.000000000 +0100
|
|
|
e990eaf |
+++ bzflag-2.0.10/plugins/airspawn/airspawn.cpp 2008-02-22 18:07:27.000000000 +0100
|
|
|
e990eaf |
@@ -3,6 +3,7 @@
|
|
|
e990eaf |
|
|
|
e990eaf |
|
|
|
e990eaf |
#include "bzfsAPI.h"
|
|
|
e990eaf |
+#include <cstdlib>
|
|
|
e990eaf |
#include <string>
|
|
|
e990eaf |
#include <map>
|
|
|
e990eaf |
|
|
|
e990eaf |
diff -up bzflag-2.0.10/plugins/nagware/nagware.cpp.gcc-4.3 bzflag-2.0.10/plugins/nagware/nagware.cpp
|
|
|
e990eaf |
--- bzflag-2.0.10/plugins/nagware/nagware.cpp.gcc-4.3 2007-11-15 23:11:31.000000000 +0100
|
|
|
e990eaf |
+++ bzflag-2.0.10/plugins/nagware/nagware.cpp 2008-02-22 18:12:17.000000000 +0100
|
|
|
e990eaf |
@@ -3,6 +3,8 @@
|
|
|
e990eaf |
// $Id: nagware.cpp 16200 2007-11-15 17:31:43Z JeffM2501 $
|
|
|
e990eaf |
|
|
|
e990eaf |
#include "bzfsAPI.h"
|
|
|
e990eaf |
+#include <cstdlib>
|
|
|
e990eaf |
+#include <cstring>
|
|
|
e990eaf |
#include <vector>
|
|
|
e990eaf |
|
|
|
e990eaf |
BZ_GET_PLUGIN_VERSION
|
|
|
e990eaf |
diff -up bzflag-2.0.10/plugins/flagStay/flagStay.cpp.gcc-4.3 bzflag-2.0.10/plugins/flagStay/flagStay.cpp
|
|
|
e990eaf |
--- bzflag-2.0.10/plugins/flagStay/flagStay.cpp.gcc-4.3 2007-11-15 23:11:31.000000000 +0100
|
|
|
e990eaf |
+++ bzflag-2.0.10/plugins/flagStay/flagStay.cpp 2008-02-22 18:08:30.000000000 +0100
|
|
|
e990eaf |
@@ -2,6 +2,7 @@
|
|
|
e990eaf |
//
|
|
|
e990eaf |
|
|
|
e990eaf |
#include "bzfsAPI.h"
|
|
|
e990eaf |
+#include <cstdlib>
|
|
|
e990eaf |
#include <string>
|
|
|
e990eaf |
#include <vector>
|
|
|
e990eaf |
#include <map>
|
|
|
e990eaf |
diff -up bzflag-2.0.10/plugins/koth/koth.cpp.gcc-4.3 bzflag-2.0.10/plugins/koth/koth.cpp
|
|
|
e990eaf |
--- bzflag-2.0.10/plugins/koth/koth.cpp.gcc-4.3 2007-11-15 23:11:30.000000000 +0100
|
|
|
e990eaf |
+++ bzflag-2.0.10/plugins/koth/koth.cpp 2008-02-22 18:10:10.000000000 +0100
|
|
|
e990eaf |
@@ -1,6 +1,7 @@
|
|
|
e990eaf |
// koth.cpp : Defines the entry point for the DLL application.
|
|
|
e990eaf |
|
|
|
e990eaf |
#include "bzfsAPI.h"
|
|
|
e990eaf |
+#include <cstdlib>
|
|
|
e990eaf |
#include <string>
|
|
|
e990eaf |
#include <vector>
|
|
|
e990eaf |
#include <map>
|
|
|
e990eaf |
diff -up bzflag-2.0.10/plugins/torBlock/torBlock.cpp.gcc-4.3 bzflag-2.0.10/plugins/torBlock/torBlock.cpp
|
|
|
e990eaf |
--- bzflag-2.0.10/plugins/torBlock/torBlock.cpp.gcc-4.3 2008-02-22 21:01:08.000000000 +0100
|
|
|
e990eaf |
+++ bzflag-2.0.10/plugins/torBlock/torBlock.cpp 2008-02-22 21:00:52.000000000 +0100
|
|
|
e990eaf |
@@ -2,6 +2,7 @@
|
|
|
e990eaf |
//
|
|
|
e990eaf |
|
|
|
e990eaf |
#include "bzfsAPI.h"
|
|
|
e990eaf |
+#include <cstring>
|
|
|
e990eaf |
#include <string>
|
|
|
e990eaf |
#include <algorithm>
|
|
|
e990eaf |
#include <sstream>
|