Blob Blame Raw
diff -up u4/src/armor.cpp.gcc43 u4/src/armor.cpp
--- u4/src/armor.cpp.gcc43	2005-10-30 13:39:02.000000000 -0600
+++ u4/src/armor.cpp	2009-02-09 16:16:36.000000000 -0600
@@ -5,6 +5,7 @@
 #include "vc6.h" // Fixes things if you're using VC6, does nothing if otherwise
 
 #include <vector>
+#include <string.h>
 
 #include "armor.h"
 
diff -up u4/src/conversation.cpp.gcc43 u4/src/conversation.cpp
--- u4/src/conversation.cpp.gcc43	2006-01-23 00:57:21.000000000 -0600
+++ u4/src/conversation.cpp	2009-02-09 16:16:36.000000000 -0600
@@ -4,6 +4,7 @@
 
 #include "vc6.h" // Fixes things if you're using VC6, does nothing if otherwise
 
+#include <string.h>
 #include "conversation.h"
 #include "debug.h"
 #include "person.h"
diff -up u4/src/creature.cpp.gcc43 u4/src/creature.cpp
--- u4/src/creature.cpp.gcc43	2006-01-09 15:24:52.000000000 -0600
+++ u4/src/creature.cpp	2009-02-09 16:16:36.000000000 -0600
@@ -6,6 +6,7 @@
 
 #include "creature.h"
 
+#include <string.h>
 #include "combat.h"
 #include "config.h"
 #include "context.h"
diff -up u4/src/dialogueloader.cpp.gcc43 u4/src/dialogueloader.cpp
--- u4/src/dialogueloader.cpp.gcc43	2005-01-21 02:02:52.000000000 -0600
+++ u4/src/dialogueloader.cpp	2009-02-09 16:16:36.000000000 -0600
@@ -4,6 +4,8 @@
 
 #include "vc6.h" // Fixes things if you're using VC6, does nothing if otherwise
 
+#include <stdlib.h>
+#include <string.h>
 #include "debug.h"
 #include "conversation.h"
 #include "dialogueloader.h"
diff -up u4/src/dialogueloader_hw.cpp.gcc43 u4/src/dialogueloader_hw.cpp
--- u4/src/dialogueloader_hw.cpp.gcc43	2006-01-23 00:57:21.000000000 -0600
+++ u4/src/dialogueloader_hw.cpp	2009-02-09 16:16:36.000000000 -0600
@@ -5,6 +5,7 @@
 #include "vc6.h" // Fixes things if you're using VC6, does nothing if otherwise
 
 #include <string>
+#include <cstring>
 #include <vector>
 
 #include "context.h"
diff -up u4/src/dialogueloader_tlk.cpp.gcc43 u4/src/dialogueloader_tlk.cpp
--- u4/src/dialogueloader_tlk.cpp.gcc43	2006-01-23 00:57:55.000000000 -0600
+++ u4/src/dialogueloader_tlk.cpp	2009-02-09 16:16:36.000000000 -0600
@@ -5,6 +5,7 @@
 #include "vc6.h" // Fixes things if you're using VC6, does nothing if otherwise
 
 #include <string>
+#include <cstring>
 
 #include "conversation.h"
 #include "dialogueloader_tlk.h"
diff -up u4/src/direction.cpp.gcc43 u4/src/direction.cpp
--- u4/src/direction.cpp.gcc43	2004-05-22 16:03:25.000000000 -0500
+++ u4/src/direction.cpp	2009-02-09 16:16:36.000000000 -0600
@@ -6,6 +6,7 @@
 
 #include "direction.h"
 
+#include <stdlib.h>
 #include "debug.h"
 #include "event.h"
 #include "utils.h"
diff -up u4/src/lzw/u6decode.cpp.gcc43 u4/src/lzw/u6decode.cpp
--- u4/src/lzw/u6decode.cpp.gcc43	2005-10-03 01:30:09.000000000 -0500
+++ u4/src/lzw/u6decode.cpp	2009-02-09 16:16:36.000000000 -0600
@@ -28,6 +28,7 @@
  */
 
 #include <stdio.h>
+#include <stdlib.h>
 
 #include "u6decode.h"
 #include "u6stack.h"
diff -up u4/src/savegame.cpp.gcc43 u4/src/savegame.cpp
--- u4/src/savegame.cpp.gcc43	2005-01-14 02:24:55.000000000 -0600
+++ u4/src/savegame.cpp	2009-02-09 16:16:36.000000000 -0600
@@ -6,6 +6,7 @@
 
 #include "savegame.h"
 
+#include <string.h>
 #include "io.h"
 #include "object.h"
 #include "types.h"
diff -up u4/src/screen.cpp.gcc43 u4/src/screen.cpp
--- u4/src/screen.cpp.gcc43	2005-12-16 23:59:05.000000000 -0600
+++ u4/src/screen.cpp	2009-02-09 16:16:36.000000000 -0600
@@ -7,6 +7,7 @@
 #include <cstdio>
 #include <cstdarg>
 #include <cfloat>
+#include <cstring>
 #include "u4.h"
 
 #include "screen.h"
diff -up u4/src/settings.cpp.gcc43 u4/src/settings.cpp
--- u4/src/settings.cpp.gcc43	2007-01-16 02:06:16.000000000 -0600
+++ u4/src/settings.cpp	2009-02-09 16:16:36.000000000 -0600
@@ -5,6 +5,7 @@
 #include "vc6.h" // Fixes things if you're using VC6, does nothing if otherwise
 
 #include <cctype>
+#include <cstring>
 
 #include "settings.h"
 
diff -up u4/src/spell.cpp.gcc43 u4/src/spell.cpp
--- u4/src/spell.cpp.gcc43	2006-01-04 02:15:19.000000000 -0600
+++ u4/src/spell.cpp	2009-02-09 16:16:36.000000000 -0600
@@ -8,6 +8,7 @@
 
 #include "spell.h"
 
+#include <string.h>
 #include "annotation.h"
 #include "combat.h"
 #include "context.h"
diff -up u4/src/u4file.cpp.gcc43 u4/src/u4file.cpp
--- u4/src/u4file.cpp.gcc43	2009-02-09 16:16:36.000000000 -0600
+++ u4/src/u4file.cpp	2009-02-09 16:16:36.000000000 -0600
@@ -3,6 +3,7 @@
  */
 
 #include <cctype>
+#include <stdlib.h>
 
 #include "u4file.h"
 #include "unzip.h"
diff -up u4/src/u4file.h.gcc43 u4/src/u4file.h
--- u4/src/u4file.h.gcc43	2009-02-09 16:16:39.000000000 -0600
+++ u4/src/u4file.h	2009-02-09 16:16:51.000000000 -0600
@@ -6,6 +6,7 @@
 #define U4FILE_H
 
 #include "vc6.h"
+#include <cstdio>
 #include <map>
 #include <string>
 #include <vector>
diff -up u4/src/weapon.cpp.gcc43 u4/src/weapon.cpp
--- u4/src/weapon.cpp.gcc43	2005-10-30 13:39:02.000000000 -0600
+++ u4/src/weapon.cpp	2009-02-09 16:16:36.000000000 -0600
@@ -5,6 +5,7 @@
 #include "vc6.h" // Fixes things if you're using VC6, does nothing if otherwise
 
 #include <string>
+#include <cstring>
 
 #include "weapon.h"