ports/benchmarks/dbs/files/patch-src_scan.c
Mathieu Arnold 56bf85096c Cleanup patches, category benchmarks
Rename them to follow the make makepatch naming, and regenerate them.

With hat:	portmgr
Sponsored by:	Absolight
2016-07-27 15:09:11 +00:00

22 lines
420 B
C

--- src/scan.c.orig 1997-07-11 00:54:12 UTC
+++ src/scan.c
@@ -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