File bonnie++-gcc43.patch of Package bonnie++

--- zcav.cpp
+++ zcav.cpp
@@ -7,7 +7,8 @@
 #include <fcntl.h>
 #include <stdlib.h>
 #include "bonnie.h"
-#include <vector.h>
+#include <cstring>
+#include <vector>
 
 // Read the specified number of megabytes of data from the fd and return the
 // amount of time elapsed in seconds.
@@ -35,8 +36,8 @@
 
 int main(int argc, char *argv[])
 {
-  vector<double *> times;
-  vector<int> count;
+  std::vector<double *> times;
+  std::vector<int> count;
   int block_size = 100;
 
   int max_loops = 1;
openSUSE Build Service is sponsored by