File armagetronad-missing_headers.patch of Package armagetron
--- src/network/md5.cpp 2004-11-29 11:26:42.000000000 +0100
+++ src/network/md5.cpp 2009-05-05 14:02:49.000000000 +0200
@@ -78,6 +78,7 @@
#include <string>
#include <memory>
+#include <string.h>
#ifdef TEST
/*
--- src/network/nAuthentification.cpp 2005-04-01 09:32:59.000000000 +0200
+++ src/network/nAuthentification.cpp 2009-05-05 14:03:05.000000000 +0200
@@ -35,6 +35,7 @@
#include <memory>
#include <string>
+#include <string.h>
static nAuthentification::UserPasswordCallback* S_UserPasswordCallback = NULL;
static nAuthentification::LoginResultCallback* S_LoginResultCallback = NULL;
--- src/network/nConfig.cpp 2006-05-13 16:17:31.000000000 +0200
+++ src/network/nConfig.cpp 2009-05-05 14:03:30.000000000 +0200
@@ -30,6 +30,7 @@
#include "tConsole.h"
#include "tSysTime.h"
#include <set>
+#include <string.h>
nConfItemBase::nConfItemBase()
:tConfItemBase(""), lastChangeTime_(-10000), lastChangeMessage_(0), watcher_(0){}
--- src/network/nKrawall.cpp 2005-07-13 23:04:21.000000000 +0200
+++ src/network/nKrawall.cpp 2009-05-05 14:03:50.000000000 +0200
@@ -44,6 +44,7 @@
#include <stdlib.h>
#include <string>
+#include <string.h>
bool nKrawall::MayRequirePassword(tString& adress, unsigned int port)
{
--- src/network/nNetObject.h 2006-01-15 00:04:33.000000000 +0100
+++ src/network/nNetObject.h 2009-05-05 14:04:09.000000000 +0200
@@ -31,6 +31,7 @@
#include "nNetwork.h"
#include "tArray.h"
#include "tConsole.h"
+#include <string.h>
class nObserver;
--- src/network/nNetwork.cpp 2006-08-04 20:56:13.000000000 +0200
+++ src/network/nNetwork.cpp 2009-05-05 14:04:25.000000000 +0200
@@ -40,6 +40,7 @@
#include <stdlib.h>
#include <fstream>
#include "tMath.h"
+#include <string.h>
#ifndef WIN32
#include <netinet/in.h>
--- src/network/nSocket.cpp 2006-05-13 16:17:31.000000000 +0200
+++ src/network/nSocket.cpp 2009-05-05 14:04:40.000000000 +0200
@@ -38,6 +38,7 @@
#include <string>
#include <stdio.h>
+#include <string.h>
#include <sys/types.h>
--- src/render/rModel.cpp 2005-11-18 00:38:17.000000000 +0100
+++ src/render/rModel.cpp 2009-05-05 14:04:54.000000000 +0200
@@ -35,7 +35,7 @@
#include "tConfiguration.h"
#include "tLocale.h"
#include "rGL.h"
-
+#include <string.h>
static rModel *sr_ModelAnchor;
--- src/tools/tArray.cpp 2005-06-15 19:09:09.000000000 +0200
+++ src/tools/tArray.cpp 2009-05-05 14:05:07.000000000 +0200
@@ -33,6 +33,7 @@
#include <stdlib.h>
#include <string>
#include "tArray.h"
+#include <string.h>
void GrowingArrayBase::ComplainIfFull(){
if (Len()>0)
--- src/tools/tConfiguration.cpp 2006-05-13 16:17:31.000000000 +0200
+++ src/tools/tConfiguration.cpp 2009-05-05 14:05:32.000000000 +0200
@@ -42,6 +42,7 @@
#include "tCommandLine.h"
#include <vector>
+#include <string.h>
/***********************************************************************
* The new Configuration interface, currently not completely implemented
--- src/tools/tCrypt.cpp 2004-11-29 11:26:42.000000000 +0100
+++ src/tools/tCrypt.cpp 2009-05-05 14:05:46.000000000 +0200
@@ -29,6 +29,7 @@
#include "tMemManager.h"
#include <string>
+#include <string.h>
class tCryptDummy: public tCrypt
{
--- src/tools/tError.cpp 2006-03-16 00:16:59.000000000 +0100
+++ src/tools/tError.cpp 2009-05-05 14:19:13.000000000 +0200
@@ -27,6 +27,8 @@
#include "config.h"
#include <iostream>
+#include <string.h>
+#include <cstdlib>
#if HAVE_UNISTD_H
#include <unistd.h>
#endif
--- src/tools/tError.h 2005-12-05 21:30:47.000000000 +0100
+++ src/tools/tError.h 2009-05-05 14:06:18.000000000 +0200
@@ -36,6 +36,7 @@
#include <sstream>
#include <iosfwd>
#include <string>
+#include <string.h>
#if HAVE_UNISTD_H
#include <unistd.h>
#endif
--- src/tools/tRandom.cpp 2005-12-05 21:30:47.000000000 +0100
+++ src/tools/tRandom.cpp 2009-05-05 14:07:00.000000000 +0200
@@ -36,6 +36,7 @@
#include "tError.h"
#include "tRecorder.h"
+#include <cstdlib>
#undef INLINE_DEF
#define INLINE_DEF
--- src/tron/gAIBase.cpp 2006-06-02 22:38:09.000000000 +0200
+++ src/tron/gAIBase.cpp 2009-05-05 14:00:50.000000000 +0200
@@ -43,6 +43,8 @@
#include "tRandom.h"
#include "tRecorder.h"
#include <stdlib.h>
+#include <cstdlib>
+#include <memory>
#define AI_REACTION 0
#define AI_EMERGENCY 1
--- src/tron/gCycle.cpp 2006-06-02 22:38:09.000000000 +0200
+++ src/tron/gCycle.cpp 2009-05-05 14:02:18.000000000 +0200
@@ -52,6 +52,7 @@
#include "tMath.h"
#include <stdlib.h>
#include <fstream>
+#include <memory>
#ifndef DEDICATED
#define DONTDOIT