ports/benchmarks/bonnie++/files/patch-bonnie.h.in
Ganael LAPLANCHE 765c4d803b benchmarks/bonnie++: Fix build on -CURRENT
While here, re-generate patches.
2023-07-10 12:31:18 +02:00

20 lines
362 B
C

--- bonnie.h.in.orig 2018-09-13 13:07:36 UTC
+++ bonnie.h.in
@@ -1,8 +1,6 @@
#ifndef BONNIE
#define BONNIE
-using namespace std;
-
#define BON_VERSION "@version@"
#define CSV_VERSION "@csv_version@"
@@ -11,6 +9,8 @@ using namespace std;
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
+
+using namespace std;
typedef FILE *PFILE;