aboutsummaryrefslogtreecommitdiff
path: root/dep
diff options
context:
space:
mode:
authormegamage <none@none>2009-06-27 17:54:03 -0500
committermegamage <none@none>2009-06-27 17:54:03 -0500
commit7d24efd16dac4899de7a51268cde255aed1d3d77 (patch)
tree27da8deaadd50a818884cf7f221fbc9a1046a847 /dep
parentb9029be234312b1a4ae1c4b7d89641d49eff91aa (diff)
[8080] Portability fixes for some Unix platforms. Author: VladimirMangos
* Add #include <stdio.h> to some fiels where related functions call. * Avoid template dependent lookup for fields in class LockedQueue. --HG-- branch : trunk
Diffstat (limited to 'dep')
-rw-r--r--dep/src/sockets/SocketHandler.cpp1
-rw-r--r--dep/src/sockets/StdoutLog.cpp2
-rw-r--r--dep/src/sockets/TcpSocket.cpp1
3 files changed, 4 insertions, 0 deletions
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 <stdlib.h>
+#include <stdio.h>
#include <errno.h>
#include <cstdio>
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 <stdio.h>
+
#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 <fcntl.h>
#include <assert.h>
#include <stdarg.h>
+#include <stdio.h>
#ifdef HAVE_OPENSSL
#include <openssl/rand.h>
#include <openssl/err.h>