changeset 14427:4c39cf933978

passfd: Fix compilation error on OpenBSD. * lib/passfd.c: Include <sys/uio.h>.
author Bruno Haible <bruno@clisp.org>
date Sun, 13 Mar 2011 23:45:25 +0100
parents cd6fec31364f
children 37be22410279
files ChangeLog lib/passfd.c
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-03-13  Bruno Haible  <bruno@clisp.org>
+
+	passfd: Fix compilation error on OpenBSD.
+	* lib/passfd.c: Include <sys/uio.h>.
+
 2011-03-13  Bruno Haible  <bruno@clisp.org>
 
 	passfd test: Fix warnings.
--- a/lib/passfd.c
+++ b/lib/passfd.c
@@ -24,6 +24,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <sys/types.h>
+#include <sys/uio.h>
 #include <unistd.h>
 
 #include <sys/socket.h>