Dash:
[t2.git] / package / x11 / vnc / hotfix-gcc42.patch
blobf01ab4944e62b0b5cbf648a3376dcb867287d7cc
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../vnc/gcc42.patch
5 # Copyright (C) 2008 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- vnc-4_1_2-unixsrc/unix/tx/TXImage.cxx.vanilla 2008-11-06 16:23:00.000000000 +0100
18 +++ vnc-4_1_2-unixsrc/unix/tx/TXImage.cxx 2008-11-06 16:23:37.000000000 +0100
19 @@ -21,6 +21,7 @@
22 #include <stdio.h>
23 +#include <stdlib.h>
24 #include <strings.h>
25 #include <sys/types.h>
26 #include <sys/ipc.h>
27 --- vnc-4_1_2-unixsrc/unix/x0vncserver/Image.cxx.vanilla 2008-11-06 16:24:03.000000000 +0100
28 +++ vnc-4_1_2-unixsrc/unix/x0vncserver/Image.cxx 2008-11-06 16:24:35.000000000 +0100
29 @@ -21,6 +21,7 @@
32 #include <stdio.h>
33 +#include <stdlib.h>
34 #include <sys/types.h>
35 #include <sys/ipc.h>
36 #include <sys/shm.h>
37 --- vnc-4_1_2-unixsrc/common/network/TcpSocket.cxx.vanilla 2008-11-06 16:22:07.000000000 +0100
38 +++ vnc-4_1_2-unixsrc/common/network/TcpSocket.cxx 2008-11-06 16:22:37.000000000 +0100
39 @@ -37,6 +37,8 @@
40 #include <fcntl.h>
41 #endif
43 +#include <stdlib.h>
45 #include <network/TcpSocket.h>
46 #include <rfb/util.h>
47 #include <rfb/LogWriter.h>