summaryrefslogtreecommitdiff
path: root/app-benchmarks/bashmark/files/bashmark-0.6.2-gcc43.patch
blob: 02bded6c47650bd32b5ef11994fff608173b5aeb (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
--- a/Benchmark.cpp
+++ b/Benchmark.cpp
@@ -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"
 
 
--- a/main.cpp
+++ b/main.cpp
@@ -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"
--- a/Sysinfo.cpp
+++ b/Sysinfo.cpp
@@ -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;