Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-gnome
Path: blob/main/benchmarks/dbs/files/patch-src_dbsc.c
16124 views
1
--- src/dbsc.c.orig 1998-06-08 00:23:35 UTC
2
+++ src/dbsc.c
3
@@ -51,6 +51,10 @@
4
5
#define DBSC
6
7
+#ifdef HAVE_SYS_PARAM_H
8
+#include <sys/param.h>
9
+#endif
10
+
11
#include <stdio.h>
12
#include <stdlib.h>
13
#include <string.h>
14
@@ -69,7 +73,7 @@
15
#include <arpa/inet.h>
16
#include <errno.h>
17
18
-#if !defined(bsdi)
19
+#if (!defined(BSD) || (BSD < 199306))
20
#include <malloc.h>
21
#endif
22
23
24