summaryrefslogtreecommitdiff
path: root/src/Sockets
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2008-08-03 09:53:55 +0000
committerChristian Pointner <equinox@anytun.org>2008-08-03 09:53:55 +0000
commit4fde48c050059ee84a6367dd1965f7d47cf48f0b (patch)
treed2f22dfc2a1a01cefef6b55991eefca41747651b /src/Sockets
parentadded release info to Changelog (diff)
added amd64 build fix patch by gebi
Diffstat (limited to 'src/Sockets')
-rw-r--r--src/Sockets/Debug.cpp1
-rw-r--r--src/Sockets/HttpResponse.cpp1
-rw-r--r--src/Sockets/HttpdForm.cpp1
-rw-r--r--src/Sockets/Ipv4Address.cpp1
-rw-r--r--src/Sockets/ListenSocket.h1
-rw-r--r--src/Sockets/MemFile.cpp1
-rw-r--r--src/Sockets/ResolvServer.cpp1
-rw-r--r--src/Sockets/Socket.cpp1
-rw-r--r--src/Sockets/TcpSocket.h1
-rw-r--r--src/Sockets/UdpSocket.cpp1
-rw-r--r--src/Sockets/Utility.cpp1
-rw-r--r--src/Sockets/Utility.h1
12 files changed, 12 insertions, 0 deletions
diff --git a/src/Sockets/Debug.cpp b/src/Sockets/Debug.cpp
index ce4bad6..b8351d6 100644
--- a/src/Sockets/Debug.cpp
+++ b/src/Sockets/Debug.cpp
@@ -1,5 +1,6 @@
#include "Debug.h"
#include <stdarg.h>
+#include <cstring>
#ifdef SOCKETS_NAMESPACE
diff --git a/src/Sockets/HttpResponse.cpp b/src/Sockets/HttpResponse.cpp
index c312ee2..7aac190 100644
--- a/src/Sockets/HttpResponse.cpp
+++ b/src/Sockets/HttpResponse.cpp
@@ -25,6 +25,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#endif
#include <stdarg.h>
#include <stdio.h>
+#include <cstring>
#include "HttpResponse.h"
#include "HttpRequest.h"
diff --git a/src/Sockets/HttpdForm.cpp b/src/Sockets/HttpdForm.cpp
index 1b1f689..8eb4da1 100644
--- a/src/Sockets/HttpdForm.cpp
+++ b/src/Sockets/HttpdForm.cpp
@@ -31,6 +31,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#ifdef _MSC_VER
#pragma warning(disable:4786)
#endif
+#include <cstring>
#include "socket_include.h"
#include "Parse.h"
#include "IFile.h"
diff --git a/src/Sockets/Ipv4Address.cpp b/src/Sockets/Ipv4Address.cpp
index 58f25e5..99628f4 100644
--- a/src/Sockets/Ipv4Address.cpp
+++ b/src/Sockets/Ipv4Address.cpp
@@ -20,6 +20,7 @@ You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#include <cstring>
#include "Ipv4Address.h"
#include "Utility.h"
#include "Parse.h"
diff --git a/src/Sockets/ListenSocket.h b/src/Sockets/ListenSocket.h
index f4edc37..d782fc5 100644
--- a/src/Sockets/ListenSocket.h
+++ b/src/Sockets/ListenSocket.h
@@ -37,6 +37,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <errno.h>
#endif
+#include <cstring>
#include "ISocketHandler.h"
#include "Socket.h"
#include "Utility.h"
diff --git a/src/Sockets/MemFile.cpp b/src/Sockets/MemFile.cpp
index edbe619..94b7f72 100644
--- a/src/Sockets/MemFile.cpp
+++ b/src/Sockets/MemFile.cpp
@@ -30,6 +30,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#ifdef _MSC_VER
#pragma warning(disable:4786)
#endif
+#include <cstring>
#include <stdio.h>
#include <stdarg.h>
diff --git a/src/Sockets/ResolvServer.cpp b/src/Sockets/ResolvServer.cpp
index 83f842b..a8843d9 100644
--- a/src/Sockets/ResolvServer.cpp
+++ b/src/Sockets/ResolvServer.cpp
@@ -30,6 +30,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#ifdef _MSC_VER
#pragma warning(disable:4786)
#endif
+#include <pthread.h>
#include "ResolvServer.h"
#ifdef ENABLE_RESOLVER
#include "StdoutLog.h"
diff --git a/src/Sockets/Socket.cpp b/src/Sockets/Socket.cpp
index 42d2c23..f16e069 100644
--- a/src/Sockets/Socket.cpp
+++ b/src/Sockets/Socket.cpp
@@ -37,6 +37,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <errno.h>
#include <netdb.h>
#endif
+#include <cstring>
#include <ctype.h>
#include <fcntl.h>
diff --git a/src/Sockets/TcpSocket.h b/src/Sockets/TcpSocket.h
index 47f7d15..1733de4 100644
--- a/src/Sockets/TcpSocket.h
+++ b/src/Sockets/TcpSocket.h
@@ -36,6 +36,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "SSLInitializer.h"
#endif
+#include <cstring>
#define TCP_BUFSIZE_READ 16400
#define TCP_OUTPUT_CAPACITY 1024000
diff --git a/src/Sockets/UdpSocket.cpp b/src/Sockets/UdpSocket.cpp
index 75bebf2..283c5b4 100644
--- a/src/Sockets/UdpSocket.cpp
+++ b/src/Sockets/UdpSocket.cpp
@@ -36,6 +36,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <errno.h>
#endif
+#include <cstring>
#include "ISocketHandler.h"
#include "UdpSocket.h"
#include "Utility.h"
diff --git a/src/Sockets/Utility.cpp b/src/Sockets/Utility.cpp
index a80e2a8..a914b39 100644
--- a/src/Sockets/Utility.cpp
+++ b/src/Sockets/Utility.cpp
@@ -41,6 +41,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <pthread.h>
#endif
#include <map>
+#include <cstring>
#ifdef SOCKETS_NAMESPACE
namespace SOCKETS_NAMESPACE {
diff --git a/src/Sockets/Utility.h b/src/Sockets/Utility.h
index 133fbd1..99aeb9b 100644
--- a/src/Sockets/Utility.h
+++ b/src/Sockets/Utility.h
@@ -33,6 +33,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "sockets-config.h"
#include <ctype.h>
#include <memory>
+#include <string>
#include "socket_include.h"
#ifdef SOCKETS_NAMESPACE