summaryrefslogtreecommitdiff
blob: fd73371529bc86d675d50710d54ab64cbd8f7e76 (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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
diff -ru exmap-0.10/work/exmap-0.10/jutil/jutil.cpp exm/work/exmap-0.10/jutil/jutil.cpp
--- jutil/jutil.cpp	2006-09-28 18:52:25.000000000 +0200
+++ jutil/jutil.cpp	2010-02-15 15:35:43.000000000 +0100
@@ -3,6 +3,7 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <unistd.h>
+#include <cstring>
 #include <limits.h>
 #include <dirent.h>
 
diff -ru exmap-0.10/work/exmap-0.10/jutil/jutil.hpp exm/work/exmap-0.10/jutil/jutil.hpp
--- jutil/jutil.hpp	2006-09-28 18:52:25.000000000 +0200
+++ jutil/jutil.hpp	2010-02-15 15:40:02.000000000 +0100
@@ -3,6 +3,7 @@
 
 #include <iostream>
 #include <string>
+#include <cstdlib>
 #include <list>
 #include <map>
 
diff -ru exmap-0.10/work/exmap-0.10/src/exmtool.cpp exm/work/exmap-0.10/src/exmtool.cpp
--- src/exmtool.cpp	2006-09-28 18:52:25.000000000 +0200
+++ src/exmtool.cpp	2010-02-15 15:34:04.000000000 +0100
@@ -5,6 +5,7 @@
 
 #include <sstream>
 #include <iostream>
+#include <cstring>
 #include <vector>
 
 using namespace std;
@@ -19,9 +18,9 @@
 
 struct command
 {
-    char *command;
+    const char *command;
     Handler handler;
-    char *usage;
+    const char *usage;
 } cmd_handles[] = {
     { "procs",
       do_procs,

diff -ru exmap-0.10/work/exmap-0.10/src/Elf.cpp norg/work/exmap-0.10/src/Elf.cpp
--- src/Elf.cpp	2006-09-28 18:52:25.000000000 +0200
+++ src/Elf.cpp	2010-02-15 16:55:37.000000000 +0100
@@ -4,6 +4,7 @@
 #include "Elf.hpp"
 
 #include <sstream>
+#include <cstring>
 #include <unistd.h> // getpagesize()
 
 using namespace std;

diff -ru exmap-0.10/jutil/TestRunner.cpp.orig exmap-0.10/jutil/TestRunner.cpp
--- jutil/TestRunner.cpp.orig	2010-02-15 22:00:03.000000000 +0100
+++ jutil/TestRunner.cpp	2010-02-15 22:00:19.000000000 +0100
@@ -1,5 +1,6 @@
 #include "TestRunner.hpp"
 #include "Pcre.hpp"
+#include <cstdio>
 
 using namespace std;