Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-gnome
Path: blob/main/benchmarks/dbs/files/patch-src_scan.c
16124 views
1
--- src/scan.c.orig 1997-07-11 00:54:12 UTC
2
+++ src/scan.c
3
@@ -49,6 +49,9 @@
4
* $Author: yukio-m $
5
*****************************************************************/
6
7
+#ifdef HAVE_SYS_PARAM_H
8
+#include <sys/param.h>
9
+#endif
10
#include<stdio.h>
11
#include<stdlib.h>
12
13
@@ -58,7 +61,8 @@
14
#include <string.h>
15
#endif
16
17
-#if !defined(bsdi)
18
+#if (!defined(BSD) || (BSD < 199306))
19
+#error BSD
20
#include <malloc.h>
21
#endif
22
23
24