passfd: Fix compilation error on OpenBSD.
authorBruno Haible <bruno@clisp.org>
Sun, 13 Mar 2011 22:45:25 +0000 (23:45 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 13 Mar 2011 22:45:25 +0000 (23:45 +0100)
* lib/passfd.c: Include <sys/uio.h>.

ChangeLog
lib/passfd.c

index 440d503421f73fcd40f345aaaf9767f694dccc86..b68fa29784a7320de17b59968fc02be3b941bbf8 100644 (file)
--- 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.
index d694ba6e0c0cb9f523180c6300232c984f5c657f..573b80e450aa9475e8ad46f6f3f0a1da1465e131 100644 (file)
@@ -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>