summaryrefslogtreecommitdiff
path: root/benchmarks/dbs/files/patch-ac
blob: 85458d45b1ecba17d9d7e13763fd9c72d3866929 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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