aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Tkac <atkac@redhat.com>2008-03-19 16:14:48 +0000
committerAdam Tkac <atkac@redhat.com>2008-03-19 16:14:48 +0000
commit04b7fd245b3de52ce8778475c871607d10228651 (patch)
treec688edc8875c462baeee7bf5ce82f21677218c98
parent8b3ed1309cfcc215b904c6fd9fea1b927841f90f (diff)
downloadtigervnc-04b7fd245b3de52ce8778475c871607d10228651.tar.gz
tigervnc-04b7fd245b3de52ce8778475c871607d10228651.zip
Added some missing #includes whose prevent build source with gcc 4.3
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2431 3789f03b-4d11-0410-bbf8-ca57d06f2519
-rw-r--r--common/network/TcpSocket.cxx1
-rw-r--r--common/rfb/CapsContainer.cxx1
-rw-r--r--unix/tx/TXImage.cxx1
-rw-r--r--unix/vncviewer/vncviewer.cxx1
-rw-r--r--unix/x0vncserver/Image.cxx1
5 files changed, 5 insertions, 0 deletions
diff --git a/common/network/TcpSocket.cxx b/common/network/TcpSocket.cxx
index 3212ace7..5dd24287 100644
--- a/common/network/TcpSocket.cxx
+++ b/common/network/TcpSocket.cxx
@@ -37,6 +37,7 @@
#include <fcntl.h>
#endif
+#include <stdlib.h>
#include <network/TcpSocket.h>
#include <rfb/util.h>
#include <rfb/LogWriter.h>
diff --git a/common/rfb/CapsContainer.cxx b/common/rfb/CapsContainer.cxx
index a64a5248..2b569761 100644
--- a/common/rfb/CapsContainer.cxx
+++ b/common/rfb/CapsContainer.cxx
@@ -22,6 +22,7 @@
//
#include <rfb/CapsContainer.h>
+#include <string.h>
using namespace rfb;
diff --git a/unix/tx/TXImage.cxx b/unix/tx/TXImage.cxx
index 5fa68288..95cd2b70 100644
--- a/unix/tx/TXImage.cxx
+++ b/unix/tx/TXImage.cxx
@@ -21,6 +21,7 @@
#include <stdio.h>
+#include <stdlib.h>
#include <strings.h>
#include <sys/types.h>
#include <sys/ipc.h>
diff --git a/unix/vncviewer/vncviewer.cxx b/unix/vncviewer/vncviewer.cxx
index 0d732fff..e419c78b 100644
--- a/unix/vncviewer/vncviewer.cxx
+++ b/unix/vncviewer/vncviewer.cxx
@@ -30,6 +30,7 @@
#include <unistd.h>
#include <errno.h>
#include <signal.h>
+#include <locale.h>
#include <rfb/Logger_stdio.h>
#include <rfb/LogWriter.h>
#include <network/TcpSocket.h>
diff --git a/unix/x0vncserver/Image.cxx b/unix/x0vncserver/Image.cxx
index 12da5495..f998c6a5 100644
--- a/unix/x0vncserver/Image.cxx
+++ b/unix/x0vncserver/Image.cxx
@@ -21,6 +21,7 @@
//
#include <stdio.h>
+#include <stdlib.h>
#include <sys/types.h>
#ifdef HAVE_MITSHM