diff options
Diffstat (limited to 'benchmarks/libmicro/files/patch-writev.c')
| -rw-r--r-- | benchmarks/libmicro/files/patch-writev.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/benchmarks/libmicro/files/patch-writev.c b/benchmarks/libmicro/files/patch-writev.c index 5cbfb3af7342..55793ae6832d 100644 --- a/benchmarks/libmicro/files/patch-writev.c +++ b/benchmarks/libmicro/files/patch-writev.c @@ -1,20 +1,21 @@ ---- 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 +--- writev.c.orig 2011-05-11 00:58:23 UTC ++++ writev.c +@@ -28,6 +28,7 @@ + * Use is subject to license terms. + */ +#include <sys/types.h> #include <sys/uio.h> #include <limits.h> #include <unistd.h> - #include <stdlib.h> +@@ -35,6 +36,10 @@ #include <stdio.h> #include <fcntl.h> -+ + +#ifndef UIO_MAXIOV +#define UIO_MAXIOV 1024 +#endif - ++ #ifndef IOV_MAX #define IOV_MAX UIO_MAXIOV + #endif |
