aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/dbs/files/patch-src_dbsc.c
blob: 910c1a8e9a190bc8ab814f076646688d47dc8958 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- src/dbsc.c.orig 1998-06-08 00:23:35 UTC
+++ src/dbsc.c
@@ -51,6 +51,10 @@
 
 #define DBSC
 
+#ifdef HAVE_SYS_PARAM_H
+#include <sys/param.h>
+#endif
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -69,7 +73,7 @@
 #include <arpa/inet.h>
 #include <errno.h>
 
-#if !defined(bsdi)
+#if (!defined(BSD) || (BSD < 199306))
 #include <malloc.h>
 #endif