summaryrefslogtreecommitdiffstats
path: root/meta/recipes-benchmark/bonnie++/bonnie++/gcc-4.3-fixes.patch
blob: 9f42df91ff5f298dea2dc9c95e095390c82acefd (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
Includes string.h to the file "zcav.cpp", because it uses the two functions: "strdup()" and "strcmp()".

Upstream-Status: Pending

Signed-off-by: Cindy Zhao <cindy.zhao@enea.com>
---
 zcav.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/zcav.cpp b/zcav.cpp
index 1c39d85..e4fc4f5 100644
--- a/zcav.cpp
+++ b/zcav.cpp
@@ -15,6 +15,7 @@ using namespace std;
 #else
 #include <vector.h>
 #endif
+#include <string.h>
 
 // Read the specified number of megabytes of data from the fd and return the
 // amount of time elapsed in seconds.
-- 
1.7.5.4