From aa906da74a763baad5698693f0d5d4662684f137 Mon Sep 17 00:00:00 2001 From: drbob Date: Sat, 31 May 2008 13:31:11 +0000 Subject: [PATCH] Added #includes for picky compiler (ArchLinux) mainly: stdlib.h & string.h git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@568 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libretroshare/src/tcponudp/tcpstream.cc | 3 ++- libretroshare/src/tcponudp/tou.cc | 3 +++ libretroshare/src/tcponudp/udplayer.cc | 2 ++ libretroshare/src/tcponudp/udplayer.h | 1 + libretroshare/src/tcponudp/udpsorter.cc | 1 + 5 files changed, 9 insertions(+), 1 deletion(-) diff --git a/libretroshare/src/tcponudp/tcpstream.cc b/libretroshare/src/tcponudp/tcpstream.cc index ca6e76148..e6ba606a8 100644 --- a/libretroshare/src/tcponudp/tcpstream.cc +++ b/libretroshare/src/tcponudp/tcpstream.cc @@ -24,7 +24,8 @@ */ - +#include +#include #include "tcpstream.h" #include diff --git a/libretroshare/src/tcponudp/tou.cc b/libretroshare/src/tcponudp/tou.cc index cf4e10e39..379380ad2 100644 --- a/libretroshare/src/tcponudp/tou.cc +++ b/libretroshare/src/tcponudp/tou.cc @@ -30,6 +30,9 @@ static const int kInitStreamTable = 5; +#include +#include + #include "udplayer.h" #include "tcpstream.h" #include diff --git a/libretroshare/src/tcponudp/udplayer.cc b/libretroshare/src/tcponudp/udplayer.cc index 820268b53..7065b8634 100644 --- a/libretroshare/src/tcponudp/udplayer.cc +++ b/libretroshare/src/tcponudp/udplayer.cc @@ -31,6 +31,8 @@ #include #include #include +#include +#include /* #include diff --git a/libretroshare/src/tcponudp/udplayer.h b/libretroshare/src/tcponudp/udplayer.h index 02333f2b3..d8d1dedb9 100644 --- a/libretroshare/src/tcponudp/udplayer.h +++ b/libretroshare/src/tcponudp/udplayer.h @@ -115,6 +115,7 @@ virtual int sendUdpPacket(const void *data, int size, struct sockaddr_in &to); }; #include +#include class LossyUdpLayer: public UdpLayer { diff --git a/libretroshare/src/tcponudp/udpsorter.cc b/libretroshare/src/tcponudp/udpsorter.cc index 26b070a4c..3a0247f37 100644 --- a/libretroshare/src/tcponudp/udpsorter.cc +++ b/libretroshare/src/tcponudp/udpsorter.cc @@ -27,6 +27,7 @@ #include "util/rsnet.h" #include "util/rsprint.h" +#include #include #include #include