summaryrefslogtreecommitdiff
path: root/benchmarks/dbs/files/patch-src_scan.c
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-28 14:17:02 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-28 14:17:02 +0000
commitbd660e17d775189dad03bdfa3b8d093babab10e1 (patch)
tree09c6d075cf1f65caf45985df6ee6faa66f38b428 /benchmarks/dbs/files/patch-src_scan.c
parentRename audio/ patch-xy patches to reflect the files they modify. (diff)
Rename benchmark/ patch-xy patches to reflect the files they modify.
Diffstat (limited to 'benchmarks/dbs/files/patch-src_scan.c')
-rw-r--r--benchmarks/dbs/files/patch-src_scan.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/benchmarks/dbs/files/patch-src_scan.c b/benchmarks/dbs/files/patch-src_scan.c
new file mode 100644
index 000000000000..5939f8477776
--- /dev/null
+++ b/benchmarks/dbs/files/patch-src_scan.c
@@ -0,0 +1,22 @@
+--- src/scan.c-- Fri Jul 11 00:54:12 1997
++++ src/scan.c Sat Aug 1 19:33:34 1998
+@@ -49,6 +49,9 @@
+ * $Author: yukio-m $
+ *****************************************************************/
+
++#ifdef HAVE_SYS_PARAM_H
++#include <sys/param.h>
++#endif
+ #include<stdio.h>
+ #include<stdlib.h>
+
+@@ -58,7 +61,8 @@
+ #include <string.h>
+ #endif
+
+-#if !defined(bsdi)
++#if (!defined(BSD) || (BSD < 199306))
++#error BSD
+ #include <malloc.h>
+ #endif
+