From 7d24efd16dac4899de7a51268cde255aed1d3d77 Mon Sep 17 00:00:00 2001 From: megamage Date: Sat, 27 Jun 2009 17:54:03 -0500 Subject: [8080] Portability fixes for some Unix platforms. Author: VladimirMangos * Add #include to some fiels where related functions call. * Avoid template dependent lookup for fields in class LockedQueue. --HG-- branch : trunk --- dep/src/sockets/SocketHandler.cpp | 1 + dep/src/sockets/StdoutLog.cpp | 2 ++ dep/src/sockets/TcpSocket.cpp | 1 + 3 files changed, 4 insertions(+) (limited to 'dep/src') diff --git a/dep/src/sockets/SocketHandler.cpp b/dep/src/sockets/SocketHandler.cpp index 48bd1a6f61c..84d110cfe72 100644 --- a/dep/src/sockets/SocketHandler.cpp +++ b/dep/src/sockets/SocketHandler.cpp @@ -33,6 +33,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #endif #endif #include +#include #include #include diff --git a/dep/src/sockets/StdoutLog.cpp b/dep/src/sockets/StdoutLog.cpp index 092e014a68f..998613f0fb2 100644 --- a/dep/src/sockets/StdoutLog.cpp +++ b/dep/src/sockets/StdoutLog.cpp @@ -27,6 +27,8 @@ 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 + #ifdef _MSC_VER #pragma warning(disable:4786) #endif diff --git a/dep/src/sockets/TcpSocket.cpp b/dep/src/sockets/TcpSocket.cpp index 523b83464bd..c4efa05d5bf 100644 --- a/dep/src/sockets/TcpSocket.cpp +++ b/dep/src/sockets/TcpSocket.cpp @@ -39,6 +39,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include #include #include +#include #ifdef HAVE_OPENSSL #include #include -- cgit v1.2.3