You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tde-packaging/mandriva/2010.2/applications/klamav/klamav-0.46-gcc43.patch

34 lines
1.1 KiB

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>