From 0f17a23c50e7d899046eb1edca8558abab5e90c2 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sun, 28 Aug 2005 09:05:53 +0000 Subject: Add libmicro - a set of portable benchmarks of system calls from opensolaris project. Approved by: perky (mentor) In collaboration with: gnn --- benchmarks/libmicro/files/patch-writev.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 benchmarks/libmicro/files/patch-writev.c (limited to 'benchmarks/libmicro/files/patch-writev.c') diff --git a/benchmarks/libmicro/files/patch-writev.c b/benchmarks/libmicro/files/patch-writev.c new file mode 100644 index 000000000000..5cbfb3af7342 --- /dev/null +++ b/benchmarks/libmicro/files/patch-writev.c @@ -0,0 +1,20 @@ +--- writev.c.orig Sat Aug 6 16:16:18 2005 ++++ writev.c Sat Aug 6 16:17:00 2005 +@@ -32,12 +32,17 @@ + #pragma ident "@(#)writev.c 1.7 05/08/04 SMI" + #endif + ++#include + #include + #include + #include + #include + #include + #include ++ ++#ifndef UIO_MAXIOV ++#define UIO_MAXIOV 1024 ++#endif + + #ifndef IOV_MAX + #define IOV_MAX UIO_MAXIOV -- cgit v1.2.3