1388779675
- Include prototypes to fix dire warnings on 64-bit platforms. ok brad@
14 lines
468 B
Plaintext
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__)
|