summaryrefslogtreecommitdiffstats
path: root/mandriva/2010.2/applications/klamav/klamav-0.46-gcc43.patch
blob: c81edd2eb756f2a6e7e9255b7794bb0fdeafa3a4 (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
diff -p -up klamav-0.46/src/ctcron.cpp.gcc43 klamav-0.46/src/ctcron.cpp
--- klamav-0.46/src/ctcron.cpp.gcc43	2009-02-28 11:27:27.000000000 +0100
+++ klamav-0.46/src/ctcron.cpp	2009-03-14 16:57:40.000000000 +0100
@@ -18,6 +18,7 @@
 #include "ctvariable.h"
 #include <pwd.h>         // pwd, getpwnam(), getpwuid()
 #include <assert.h>
+#include <stdlib.h>      // system
 
 #include <qfile.h>
 
diff -p -up klamav-0.46/src/ctunit.cpp.gcc43 klamav-0.46/src/ctunit.cpp
--- klamav-0.46/src/ctunit.cpp.gcc43	2009-02-28 11:27:27.000000000 +0100
+++ klamav-0.46/src/ctunit.cpp	2009-03-14 16:57:40.000000000 +0100
@@ -18,6 +18,7 @@
 #include <stdlib.h>    // sprintf
 #include <stdio.h>    // sprintf
 #include <ctype.h>    // tolower
+#include <stdlib.h>   // atoi
 
 using namespace std;
 
diff -p -up klamav-0.46/src/ktview.cpp.gcc43 klamav-0.46/src/ktview.cpp
--- klamav-0.46/src/ktview.cpp.gcc43	2009-02-28 11:27:27.000000000 +0100
+++ klamav-0.46/src/ktview.cpp	2009-03-14 16:57:40.000000000 +0100
@@ -20,6 +20,7 @@
 // #include <strstream.h>
 // #endif
 
+#include <stdlib.h>     // system
 
 #include <qfileinfo.h>