summaryrefslogtreecommitdiffstats
path: root/benchmarks/dbs/files/patch-ad
blob: 5939f847777648693c9c78815acd294933a9208a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
 
OpenPOWER on IntegriCloud