summaryrefslogtreecommitdiff
path: root/benchmarks/dbs/files/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/dbs/files/patch-ac')
-rw-r--r--benchmarks/dbs/files/patch-ac21
1 files changed, 21 insertions, 0 deletions
diff --git a/benchmarks/dbs/files/patch-ac b/benchmarks/dbs/files/patch-ac
new file mode 100644
index 000000000000..85458d45b1ec
--- /dev/null
+++ b/benchmarks/dbs/files/patch-ac
@@ -0,0 +1,21 @@
+--- src/dbsd.c-- Mon Jun 8 00:23:26 1998
++++ src/dbsd.c Sat Aug 1 19:29:15 1998
+@@ -51,6 +51,9 @@
+
+ #define DBSD
+
++#ifdef HAVE_SYS_PARAM_H
++#include <sys/param.h>
++#endif
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+@@ -80,7 +83,7 @@
+ #include <sys/fcntl.h>
+ #endif
+
+-#if !defined(bsdi)
++#if (!defined(BSD) || (BSD < 199306))
+ #include <malloc.h>
+ #endif
+