openbsd-ports/benchmarks/iozone/patches/patch-iozone_c
naddy 1388779675 - Update to 3.203.
- Include prototypes to fix dire warnings on 64-bit platforms.

ok brad@
2003-09-30 10:25:34 +00:00

14 lines
468 B
Plaintext

$OpenBSD: patch-iozone_c,v 1.6 2003/09/30 10:25:34 naddy Exp $
--- iozone.c.orig 2003-09-29 15:40:18.000000000 +0200
+++ iozone.c 2003-09-29 15:41:06.000000000 +0200
@@ -240,6 +240,9 @@ THISVERSION,
#include <fcntl.h>
#if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__APPLE__)
#include <malloc.h>
+#else
+#include <stdlib.h>
+#include <string.h>
#endif
#if defined (__FreeBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__APPLE__)