]> source.dussan.org Git - tigervnc.git/commitdiff
Added some missing #includes whose prevent build source with gcc 4.3
authorAdam Tkac <atkac@redhat.com>
Wed, 19 Mar 2008 16:14:48 +0000 (16:14 +0000)
committerAdam Tkac <atkac@redhat.com>
Wed, 19 Mar 2008 16:14:48 +0000 (16:14 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2431 3789f03b-4d11-0410-bbf8-ca57d06f2519

common/network/TcpSocket.cxx
common/rfb/CapsContainer.cxx
unix/tx/TXImage.cxx
unix/vncviewer/vncviewer.cxx
unix/x0vncserver/Image.cxx

index 3212ace757cdc5e5cb6fc44981ca51ab2cb8ea60..5dd24287e6d55c8d704a07353ecf91f9d2923f87 100644 (file)
@@ -37,6 +37,7 @@
 #include <fcntl.h>
 #endif
 
+#include <stdlib.h>
 #include <network/TcpSocket.h>
 #include <rfb/util.h>
 #include <rfb/LogWriter.h>
index a64a52486fa43974c887c9e1861a5fedea4390a0..2b569761417f569ed4dc8637c2e772aa7fe776f4 100644 (file)
@@ -22,6 +22,7 @@
 //
 
 #include <rfb/CapsContainer.h>
+#include <string.h>
 
 using namespace rfb;
 
index 5fa6828800ffa058f01bda71165932e9a8b2593a..95cd2b7023955dde0fb927c65887e2e668cec13d 100644 (file)
@@ -21,6 +21,7 @@
 
 
 #include <stdio.h>
+#include <stdlib.h>
 #include <strings.h>
 #include <sys/types.h>
 #include <sys/ipc.h>
index 0d732fffdce59bea995a834dfa11d73ff034234b..e419c78bd7f3a522983cedb2e286fcaded469ee1 100644 (file)
@@ -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>
index 12da5495b725c6d7157c542bdf3dc4b538135466..f998c6a5d46dca92c4fc2565e5140fcde70e1da7 100644 (file)
@@ -21,6 +21,7 @@
 //
 
 #include <stdio.h>
+#include <stdlib.h>
 #include <sys/types.h>
 
 #ifdef HAVE_MITSHM