summaryrefslogtreecommitdiff
blob: 625abdab397ba1e77eb37c9fec5ec9df4e4d7fc2 (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
diff -NrU5 bashmark-0.6.2.orig/Benchmark.cpp bashmark-0.6.2/Benchmark.cpp
--- bashmark-0.6.2.orig/Benchmark.cpp	2008-06-29 11:53:07.000000000 +0200
+++ bashmark-0.6.2/Benchmark.cpp	2008-06-29 11:54:02.000000000 +0200
@@ -15,11 +15,11 @@
  *                                                                         *
  * You should have received a copy of the GNU General Public License       *
  * along with this software; if not, write to the Free Software            *
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.               *
  ***************************************************************************/
-#include <string>
+#include <cstring>
 #include "Benchmark.hpp"
 #include "Stopwatch.hpp"
 #include "Main.hpp"
 
 
diff -NrU5 bashmark-0.6.2.orig/main.cpp bashmark-0.6.2/main.cpp
--- bashmark-0.6.2.orig/main.cpp	2008-06-29 11:53:07.000000000 +0200
+++ bashmark-0.6.2/main.cpp	2008-06-29 11:56:40.000000000 +0200
@@ -17,10 +17,11 @@
  * along with this software; if not, write to the Free Software            *
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.               *
  ***************************************************************************/
 
 #include <sstream>
+#include <cstring>
 using std::stringstream;
 
 
 #include "Output.hpp"
 #include "Sysinfo.hpp"
diff -NrU5 bashmark-0.6.2.orig/Sysinfo.cpp bashmark-0.6.2/Sysinfo.cpp
--- bashmark-0.6.2.orig/Sysinfo.cpp	2008-06-29 11:53:07.000000000 +0200
+++ bashmark-0.6.2/Sysinfo.cpp	2008-06-29 11:55:58.000000000 +0200
@@ -15,11 +15,12 @@
  *                                                                         *
  * You should have received a copy of the GNU General Public License       *
  * along with this software; if not, write to the Free Software            *
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.               *
  ***************************************************************************/
- 
+
+#include <cstring> 
 #include "Sysinfo.hpp"
 
 using Geno::Sysinfo;
 using Geno::Cpu_Info;