opnsense-ports/benchmarks/dbs/files/patch-src_scan.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

22 lines
443 B
C

--- 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