sys/socket.h now pulls in the definition of struct iovec

This commit is contained in:
naddy 2015-01-18 19:30:26 +00:00
parent b097b95e0f
commit f95a767f33

View File

@ -1,11 +0,0 @@
$OpenBSD: patch-udp_c,v 1.1.1.1 2015/01/14 21:38:32 naddy Exp $
--- udp.c.orig Sun Jan 11 20:44:54 2015
+++ udp.c Tue Jan 13 20:07:40 2015
@@ -31,6 +31,7 @@
#include <sys/time.h> /* Compat for NetBSD */
#include <sys/types.h> /* Compat for OpenBSD */
#include <sys/socket.h>
+#include <sys/uio.h>
#include "ntimed.h"
#include "udp.h"