blob: 686da33902599264dd88bf441f052339a71a5a80 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
diff -urN libcapsinetwork-0.3.0.old/src/listener.cpp libcapsinetwork-0.3.0/src/listener.cpp
--- libcapsinetwork-0.3.0.old/src/listener.cpp 2008-01-08 18:10:17.000000000 -0500
+++ libcapsinetwork-0.3.0/src/listener.cpp 2008-01-08 18:15:51.000000000 -0500
@@ -31,6 +31,7 @@
#include <netdb.h>
#include <unistd.h>
+#include <stdlib.h>
#include "listener.h"
#include "listenport.h"
diff -urN libcapsinetwork-0.3.0.old/src/listenport.cpp libcapsinetwork-0.3.0/src/listenport.cpp
--- libcapsinetwork-0.3.0.old/src/listenport.cpp 2004-07-15 05:39:28.000000000 -0400
+++ libcapsinetwork-0.3.0/src/listenport.cpp 2008-01-08 18:15:51.000000000 -0500
@@ -30,6 +30,7 @@
#include <fcntl.h>
#include <netdb.h>
#include <unistd.h>
+#include <string.h>
#include "listenport.h"
diff -urN libcapsinetwork-0.3.0.old/src/server.cpp libcapsinetwork-0.3.0/src/server.cpp
--- libcapsinetwork-0.3.0.old/src/server.cpp 2008-01-08 18:10:17.000000000 -0500
+++ libcapsinetwork-0.3.0/src/server.cpp 2008-01-08 18:15:51.000000000 -0500
@@ -26,6 +26,7 @@
#include <string>
#include <stdio.h>
+#include <stdlib.h>
// In real applications, use the following include instead of the local.
// #include <libcapsinetwork/socket.h>
diff -urN libcapsinetwork-0.3.0.old/src/socket.cpp libcapsinetwork-0.3.0/src/socket.cpp
--- libcapsinetwork-0.3.0.old/src/socket.cpp 2008-01-08 18:10:17.000000000 -0500
+++ libcapsinetwork-0.3.0/src/socket.cpp 2008-01-08 18:15:13.000000000 -0500
@@ -25,6 +25,7 @@
#include <stdarg.h>
#include <stdio.h>
#include <unistd.h>
+#include <string.h>
#include "socket.h"
|