updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / libcapsinetwork / gcc4.3.patch
blob76fe3f2036231b90df509156dadab2e3a0691d27
1 diff -aur libcapsinetwork-0.3.0.orig/src/listener.cpp libcapsinetwork-0.3.0.new/src/listener.cpp
2 --- libcapsinetwork-0.3.0.orig/src/listener.cpp 2004-07-15 11:39:28.000000000 +0200
3 +++ libcapsinetwork-0.3.0.new/src/listener.cpp 2008-12-28 22:05:54.000000000 +0100
4 @@ -31,6 +31,7 @@
6 #include <netdb.h>
7 #include <unistd.h>
8 +#include <cstdlib>
10 #include "listener.h"
11 #include "listenport.h"
12 diff -aur libcapsinetwork-0.3.0.orig/src/listenport.cpp libcapsinetwork-0.3.0.new/src/listenport.cpp
13 --- libcapsinetwork-0.3.0.orig/src/listenport.cpp 2004-07-15 11:39:28.000000000 +0200
14 +++ libcapsinetwork-0.3.0.new/src/listenport.cpp 2008-12-28 22:09:55.000000000 +0100
15 @@ -26,6 +26,7 @@
16 #include <sys/socket.h>
17 #include <arpa/inet.h>
18 #include <netinet/in.h>
19 +#include <cstring>
21 #include <fcntl.h>
22 #include <netdb.h>
23 diff -aur libcapsinetwork-0.3.0.orig/src/server.cpp libcapsinetwork-0.3.0.new/src/server.cpp
24 --- libcapsinetwork-0.3.0.orig/src/server.cpp 2004-07-15 11:39:28.000000000 +0200
25 +++ libcapsinetwork-0.3.0.new/src/server.cpp 2008-12-28 22:19:05.000000000 +0100
26 @@ -26,6 +26,7 @@
28 #include <string>
29 #include <stdio.h>
30 +#include <cstdlib>
32 // In real applications, use the following include instead of the local.
33 // #include <libcapsinetwork/socket.h>
34 diff -aur libcapsinetwork-0.3.0.orig/src/socket.cpp libcapsinetwork-0.3.0.new/src/socket.cpp
35 --- libcapsinetwork-0.3.0.orig/src/socket.cpp 2004-07-15 11:39:28.000000000 +0200
36 +++ libcapsinetwork-0.3.0.new/src/socket.cpp 2008-12-28 22:11:08.000000000 +0100
37 @@ -25,6 +25,7 @@
38 #include <stdarg.h>
39 #include <stdio.h>
40 #include <unistd.h>
41 +#include <cstring>
43 #include "socket.h"