mirror of
https://git.freebsd.org/ports.git
synced 2025-04-30 10:36:38 -04:00
Rename them to follow the make makepatch naming, and regenerate them. With hat: portmgr Sponsored by: Absolight
21 lines
376 B
C
21 lines
376 B
C
--- 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>
|
|
@@ -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
|